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()
261 !(ip->ip_p == IPPROTO_UDP && off >= sizeof(struct udphdr))) { in esp4_input_extended()
550 off -= sizeof(struct udphdr); // off no longer includes the udphdr's size in esp4_input_extended()
556 struct udphdr *encap_uh = (__typeof__(encap_uh))(void *)((caddr_t)ip + off); in esp4_input_extended()
792 struct udphdr *udp; in esp4_input_extended()
799 if (m->m_len < off + sizeof(struct udphdr)) { in esp4_input_extended()
800 m = m_pullup(m, off + sizeof(struct udphdr)); in esp4_input_extended()
809 udp = (struct udphdr *)(void *)(((u_int8_t *)ip) + off); in esp4_input_extended()
972 off >= (sizeof(struct udphdr) + sizeof(struct ip6_hdr))))) { in esp6_input_extended()
1261 off -= sizeof(struct udphdr); // off no longer includes the udphdr's size in esp6_input_extended()
1267 struct udphdr *encap_uh = (__typeof__(encap_uh))(void *)((caddr_t)ip6 + off); in esp6_input_extended()