Home
last modified time | relevance | path

Searched refs:uh_sum (Results 1 – 4 of 4) sorted by relevance

/external/dnsmasq/src/
Dbpf.c169 u16 uh_sum; /* udp checksum */ in send_via_bpf() member
223 udp.uh_sum = 0; in send_via_bpf()
236 udp.uh_sum = (sum == 0xffff) ? sum : ~sum; in send_via_bpf()
/external/tcpdump/
Dudp.h45 u_int16_t uh_sum; /* udp checksum */ member
Dprint-udp.c540 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
559 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
/external/dhcpcd/
Dnet.c736 udp->uh_sum = checksum(udpp, sizeof(*udpp)); in make_udp_packet()
793 udpsum = packet.udp.uh_sum; in valid_udp_packet()
794 packet.udp.uh_sum = 0; in valid_udp_packet()