Searched refs:iph (Results 1 – 7 of 7) sorted by relevance
59 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 …]
391 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;
37 struct iphdr iph; member
1178 struct iphdr * iph = (struct iphdr *)(&icp[1]); in parse_reply() local1179 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()
699 const struct ip *iph = (const struct ip *)ip_data; in if_encap() local723 memcpy(rah->ar_tip, &iph->ip_dst, 4); in if_encap()724 client_ipaddr = iph->ip_dst; in if_encap()
792 const struct ip *iph = (const struct ip *)ip_data; in if_encap() local816 ip_write( iph->ip_dst, rah->ar_tip ); in if_encap()817 client_ip = iph->ip_dst; in if_encap()
252 struct iphdr *iph; member