Lines Matching refs:icmph
1833 iptun_verifyicmp(conn_t *connp, void *arg2, icmph_t *icmph, icmp6_t *icmp6, in iptun_verifyicmp() argument
2265 icmph_t *icmph; in is_icmp_error() local
2272 icmph = (icmph_t *)((uint8_t *)ipha + hlen); in is_icmp_error()
2273 return (ICMP_IS_ERROR(icmph->icmph_type) || in is_icmp_error()
2274 icmph->icmph_type == ICMP_REDIRECT); in is_icmp_error()
2385 iptun_input_icmp_v4(iptun_t *iptun, mblk_t *data_mp, icmph_t *icmph, in iptun_input_icmp_v4() argument
2400 data_mp->b_rptr = (uint8_t *)(icmph + 1); in iptun_input_icmp_v4()
2442 switch (icmph->icmph_type) { in iptun_input_icmp_v4()
2444 type = (inner4 != NULL ? icmph->icmph_type : ICMP6_DST_UNREACH); in iptun_input_icmp_v4()
2445 switch (icmph->icmph_code) { in iptun_input_icmp_v4()
2455 ntohs(icmph->icmph_du_mtu)); in iptun_input_icmp_v4()