Home
last modified time | relevance | path

Searched refs:iph (Results 1 – 7 of 7) sorted by relevance

/external/iproute2/ip/
Diptunnel.c59 p->iph.version = 4; in parse_args()
60 p->iph.ihl = 5; in parse_args()
64 p->iph.frag_off = htons(IP_DF); in parse_args()
71 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPIP) { in parse_args()
75 p->iph.protocol = IPPROTO_IPIP; in parse_args()
78 if (p->iph.protocol && p->iph.protocol != IPPROTO_GRE) { in parse_args()
82 p->iph.protocol = IPPROTO_GRE; in parse_args()
85 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPV6) { in parse_args()
89 p->iph.protocol = IPPROTO_IPV6; in parse_args()
91 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPV6) { in parse_args()
[all …]
/external/valgrind/main/coregrind/m_ume/
Delf.c391 ESZ(Phdr) *iph = &interp->p[j];
394 if (iph->p_type != PT_LOAD)
400 if (!baseaddr_set && iph->p_vaddr) {
404 interp_addr = iph->p_vaddr;
405 interp_align = iph->p_align;
410 end = (iph->p_vaddr - interp_addr) + iph->p_memsz;
/external/iproute2/include/linux/
Dif_tunnel.h37 struct iphdr iph; member
/external/ping/
Dping.c1178 struct iphdr * iph = (struct iphdr *)(&icp[1]); in parse_reply() local
1179 struct icmphdr *icp1 = (struct icmphdr*)((unsigned char *)iph + iph->ihl*4); in parse_reply()
1182 cc < 8+iph->ihl*4+8) in parse_reply()
1185 iph->daddr != whereto.sin_addr.s_addr || in parse_reply()
/external/qemu/slirp/
Dslirp.c699 const struct ip *iph = (const struct ip *)ip_data; in if_encap() local
723 memcpy(rah->ar_tip, &iph->ip_dst, 4); in if_encap()
724 client_ipaddr = iph->ip_dst; in if_encap()
/external/qemu/slirp-android/
Dslirp.c792 const struct ip *iph = (const struct ip *)ip_data; in if_encap() local
816 ip_write( iph->ip_dst, rah->ar_tip ); in if_encap()
817 client_ip = iph->ip_dst; in if_encap()
/external/kernel-headers/original/linux/
Dskbuff.h252 struct iphdr *iph; member