Searched refs:uh_sum (Results 1 – 10 of 10) sorted by relevance
/external/qemu/slirp/ |
D | udp.h | 49 u_int16_t uh_sum; /* udp checksum */ member 68 #define ui_sum ui_u.uh_sum
|
D | udp.c | 132 if (UDPCKSUM && uh->uh_sum) { in udp_input()
|
/external/qemu/slirp-android/ |
D | udp.h | 51 u_int16_t uh_sum; /* udp checksum */ member 70 #define ui_sum ui_u.uh_sum
|
D | udp.c | 170 if (UDPCKSUM && uh->uh_sum) { in udp_input()
|
/external/dnsmasq/src/ |
D | bpf.c | 169 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/ |
D | udp.h | 45 u_int16_t uh_sum; /* udp checksum */ member
|
D | print-udp.c | 540 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print() 559 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
|
/external/dhcpcd/ |
D | net.c | 736 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()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_output.c | 4170 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); 4172 udp->uh_sum = 0; 4175 udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); 4178 udp->uh_sum = 0; 4627 udp->uh_sum = 0; 4680 udp->uh_sum = 0; 4682 …if ((udp->uh_sum = in6_cksum(o_pak, IPPROTO_UDP, sizeof(struct ip6_hdr), packet_length - sizeof(st… 4683 udp->uh_sum = 0xffff; 11454 udp->uh_sum = 0; 11503 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); [all …]
|
D | sctp_os_userspace.h | 399 unsigned __int16 uh_sum; member
|