Searched refs:icmph (Results 1 – 2 of 2) sorted by relevance
896 struct icmp icmph; in ipsec4_get_ulp() local931 m_copydata(m, off, sizeof(icmph), &icmph); in ipsec4_get_ulp()933 htons((uint16_t)icmph.icmp_type); in ipsec4_get_ulp()935 htons((uint16_t)icmph.icmp_code); in ipsec4_get_ulp()986 struct icmp6_hdr icmph; in ipsec6_get_ulp() local1029 m_copydata(m, off, sizeof(icmph), &icmph); in ipsec6_get_ulp()1031 htons((uint16_t)icmph.icmp6_type); in ipsec6_get_ulp()1033 htons((uint16_t)icmph.icmp6_code); in ipsec6_get_ulp()
243 struct icmp *icmph; in sctp_notify_mbuf() local260 icmph = (struct icmp *)((vaddr_t)ip - (sizeof(struct icmp) - in sctp_notify_mbuf()262 if (icmph->icmp_type != ICMP_UNREACH) { in sctp_notify_mbuf()267 if (icmph->icmp_code != ICMP_UNREACH_NEEDFRAG) { in sctp_notify_mbuf()273 nxtsz = ntohs(icmph->icmp_seq); in sctp_notify_mbuf()