Home
last modified time | relevance | path

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

/mirbsd/src/sys/netinet/
Dip_ipsp.c1089 struct ip iph; in ipsp_parse_headers() local
1111 m_copydata(m, off, sizeof(struct ip), (caddr_t) &iph); in ipsp_parse_headers()
1113 proto = iph.ip_p; in ipsp_parse_headers()
1114 off += iph.ip_hl << 2; in ipsp_parse_headers()
1189 su.sin.sin_addr = iph.ip_dst; in ipsp_parse_headers()
1273 tdbi->dst.sin.sin_addr = iph.ip_dst; in ipsp_parse_headers()
/mirbsd/src/sbin/ping/
Dping.c1318 check_icmph(struct ip *iph) in check_icmph() argument
1323 if (iph->ip_v != 4) in check_icmph()
1327 if (iph->ip_p != IPPROTO_ICMP) in check_icmph()
1330 icmph = (struct icmp *) (iph + (4 * iph->ip_hl)); in check_icmph()