Home
last modified time | relevance | path

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

/external/qemu/slirp/
Dudp.h49 u_int16_t uh_sum; /* udp checksum */ member
68 #define ui_sum ui_u.uh_sum
Dudp.c132 if (UDPCKSUM && uh->uh_sum) { in udp_input()
/external/qemu/slirp-android/
Dudp.h51 u_int16_t uh_sum; /* udp checksum */ member
70 #define ui_sum ui_u.uh_sum
Dudp.c170 if (UDPCKSUM && uh->uh_sum) { in udp_input()
/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()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_output.c4358 … 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 …]
Dsctp_os_userspace.h394 unsigned __int16 uh_sum; member