Searched refs:iph (Results 1 - 9 of 9) sorted by relevance

/external/iproute2/ip/
H A Diptunnel.c59 p->iph.version = 4;
60 p->iph.ihl = 5;
64 p->iph.frag_off = htons(IP_DF);
71 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPIP) {
75 p->iph.protocol = IPPROTO_IPIP;
78 if (p->iph.protocol && p->iph.protocol != IPPROTO_GRE) {
82 p->iph.protocol = IPPROTO_GRE;
85 if (p->iph
[all...]
/external/kernel-headers/original/asm-mips/
H A Dchecksum.h101 static inline __sum16 ip_fast_csum(const void *iph, unsigned int ihl) argument
103 const unsigned int *word = iph;
/external/iproute2/include/linux/
H A Dif_tunnel.h37 struct iphdr iph; member in struct:ip_tunnel_parm
/external/valgrind/main/coregrind/m_ume/
H A Delf.c391 ESZ(Phdr) *iph = &interp->p[j];
394 if (iph->p_type != PT_LOAD || iph->p_memsz == 0)
403 // we don't have to worry about iph->p_vaddr
405 && (iph->p_vaddr || (interp->e.e_type == ET_DYN))) {
409 interp_addr = iph->p_vaddr;
410 /* interp_align = iph->p_align; */ /* UNUSED */
415 end = (iph->p_vaddr - interp_addr) + iph->p_memsz;
/external/openssh/openbsd-compat/
H A Dport-tun.c209 struct ip *iph; local
222 iph = (struct ip *)(ptr + sizeof(u_int32_t));
223 switch (iph->ip_v) {
/external/qemu/slirp/
H A Dslirp.c699 const struct ip *iph = (const struct ip *)ip_data; local
723 memcpy(rah->ar_tip, &iph->ip_dst, 4);
724 client_ipaddr = iph->ip_dst;
/external/ping/
H A Dping.c1178 struct iphdr * iph = (struct iphdr *)(&icp[1]); local
1179 struct icmphdr *icp1 = (struct icmphdr*)((unsigned char *)iph + iph->ihl*4);
1182 cc < 8+iph->ihl*4+8)
1185 iph->daddr != whereto.sin_addr.s_addr ||
/external/qemu/slirp-android/
H A Dslirp.c792 const struct ip *iph = (const struct ip *)ip_data; local
816 ip_write( iph->ip_dst, rah->ar_tip );
817 client_ip = iph->ip_dst;
/external/kernel-headers/original/linux/
H A Dskbuff.h252 struct iphdr *iph; member in union:sk_buff::__anon7126

Completed in 205 milliseconds