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 | 4358 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); 4360 udp->uh_sum = 0; 4363 udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); 4366 udp->uh_sum = 0; 4815 udp->uh_sum = 0; 4868 udp->uh_sum = 0; 4870 …if ((udp->uh_sum = in6_cksum(o_pak, IPPROTO_UDP, sizeof(struct ip6_hdr), packet_length - sizeof(st… 4871 udp->uh_sum = 0xffff; 11643 udp->uh_sum = 0; 11693 … 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 | 394 unsigned __int16 uh_sum; member
|