/src/sys/netinet/ |
udp.h | 42 struct udphdr { struct 49 __CTASSERT(sizeof(struct udphdr) == 8);
|
udp_usrreq.c | 136 static int udp4_input_checksum(struct mbuf *, const struct udphdr *, int, int); 220 udp_input_checksum(int af, struct mbuf *m, const struct udphdr *uh, 247 udp4_input_checksum(struct mbuf *m, const struct udphdr *uh, 315 struct udphdr *uh; 328 M_REGION_GET(uh, struct udphdr *, m, iphlen, sizeof(struct udphdr)); 338 if (ACCESSIBLE_POINTER(uh, struct udphdr) == 0) { 339 m = m_copyup(m, iphlen + sizeof(struct udphdr), 0); 345 uh = (struct udphdr *)(mtod(m, char *) + iphlen); 347 KASSERT(ACCESSIBLE_POINTER(uh, struct udphdr)); 1253 struct udphdr *udphdr; local in function:udp4_espinudp [all...] |
/src/sys/netinet6/ |
udp6_usrreq.c | 188 struct udphdr uh; 427 off += sizeof(struct udphdr); /* now, offset of payload */ 584 udp6_input_checksum(struct mbuf *m, const struct udphdr *uh, int off, int len) 642 struct udphdr *uh; 659 IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(struct udphdr)); 669 if (ACCESSIBLE_POINTER(uh, struct udphdr) == 0) { 670 m = m_copyup(m, off + sizeof(struct udphdr), 0); 676 uh = (struct udphdr *)(mtod(m, char *) + off); 678 KASSERT(ACCESSIBLE_POINTER(uh, struct udphdr)); 1418 struct udphdr *udphdr; local in function:udp6_espinudp [all...] |