Lines Matching refs:udphdr
143 u_int8_t stripsiz = (u_int8_t)sizeof(struct udphdr); in esp4_input_strip_udp_encap()
161 u_int8_t stripsiz = (u_int8_t)sizeof(struct udphdr); in esp6_input_strip_udp_encap()
263 !(ip->ip_p == IPPROTO_UDP && off >= sizeof(struct udphdr))) { in esp4_input_extended()
553 off -= sizeof(struct udphdr); // off no longer includes the udphdr's size in esp4_input_extended()
559 struct udphdr *encap_uh = (__typeof__(encap_uh))(void *)((caddr_t)ip + off); in esp4_input_extended()
795 struct udphdr *udp; in esp4_input_extended()
802 if (m->m_len < off + sizeof(struct udphdr)) { in esp4_input_extended()
803 m = m_pullup(m, off + sizeof(struct udphdr)); in esp4_input_extended()
812 udp = (struct udphdr *)(void *)(((u_int8_t *)ip) + off); in esp4_input_extended()
977 off >= (sizeof(struct udphdr) + sizeof(struct ip6_hdr))))) { in esp6_input_extended()
1259 off -= sizeof(struct udphdr); // off no longer includes the udphdr's size in esp6_input_extended()
1265 struct udphdr *encap_uh = (__typeof__(encap_uh))(void *)((caddr_t)ip6 + off); in esp6_input_extended()