Lines Matching refs:udphdr
100 vat_print(netdissect_options *ndo, const void *hdr, register const struct udphdr *up) in vat_print()
139 register const struct udphdr *up) in rtp_print()
302 register const struct udphdr *up, in udp_cksum()
310 const struct udphdr *up, u_int len) in udp6_cksum()
373 register const struct udphdr *up; in udp_print()
382 up = (const struct udphdr *)bp; in udp_print()
396 if (length < sizeof(struct udphdr)) { in udp_print()
406 if (ulen < sizeof(struct udphdr)) { in udp_print()
411 ulen -= sizeof(struct udphdr); in udp_print()
412 length -= sizeof(struct udphdr); in udp_print()
546 sum = udp_cksum(ndo, ip, up, length + sizeof(struct udphdr)); in udp_print()
559 sum = udp6_cksum(ndo, ip6, up, length + sizeof(struct udphdr)); in udp_print()