Home | History | Annotate | Download | only in netinet

Lines Matching defs:iph

382 	struct ip *iph;
390 iph = mtod(m, struct ip *);
391 if (iph->ip_v == IPVERSION) {
397 sin->sin_addr.s_addr = iph->ip_dst.s_addr ;
398 } else if (iph->ip_v == (IPV6_VERSION >> 4)) {
1128 struct ip *iph;
1136 iph = mtod(m, struct ip *);
1137 if (iph->ip_v == IPVERSION) {
1147 from4->sin_addr.s_addr = iph->ip_src.s_addr;
1148 to4->sin_addr.s_addr = iph->ip_dst.s_addr ;
1151 } else if (iph->ip_v == (IPV6_VERSION >> 4)) {
3908 struct ip *iph;
3930 iph = mtod(m, struct ip *);
3931 if (iph->ip_v == IPVERSION) {
3939 sin_2->sin_addr.s_addr = iph->ip_dst.s_addr ;
3940 sin.sin_addr = iph->ip_src;
3942 } else if (iph->ip_v == (IPV6_VERSION >> 4)) {