Searched refs:uh_sum (Results 1 – 8 of 8) sorted by relevance
49 u_int16_t uh_sum; /* udp checksum */ member68 #define ui_sum ui_u.uh_sum
132 if (UDPCKSUM && uh->uh_sum) { in udp_input()
51 u_int16_t uh_sum; /* udp checksum */ member70 #define ui_sum ui_u.uh_sum
170 if (UDPCKSUM && uh->uh_sum) { in udp_input()
169 u16 uh_sum; /* udp checksum */ in send_via_bpf() member223 udp.uh_sum = 0; in send_via_bpf()236 udp.uh_sum = (sum == 0xffff) ? sum : ~sum; in send_via_bpf()
45 u_int16_t uh_sum; /* udp checksum */ member
573 int sum = up->uh_sum; in udp_print()586 int sum = up->uh_sum; in udp_print()
704 udp->uh_sum = checksum(udpp, sizeof(*udpp)); in make_udp_packet()758 udpsum = packet.udp.uh_sum; in valid_udp_packet()759 packet.udp.uh_sum = 0; in valid_udp_packet()