Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dip_output.c100 ip->ip_sum = 0; in ip_output()
101 ip->ip_sum = cksum(m, hlen); in ip_output()
167 mhip->ip_sum = 0; in ip_output()
168 mhip->ip_sum = cksum(m, mhlen); in ip_output()
181 ip->ip_sum = 0; in ip_output()
182 ip->ip_sum = cksum(m, hlen); in ip_output()
Dip.h94 u_int16_t ip_sum; /* checksum */ member
/external/qemu/slirp/
Dip_output.c100 ip->ip_sum = 0; in ip_output()
101 ip->ip_sum = cksum(m, hlen); in ip_output()
167 mhip->ip_sum = 0; in ip_output()
168 mhip->ip_sum = cksum(m, mhlen); in ip_output()
181 ip->ip_sum = 0; in ip_output()
182 ip->ip_sum = cksum(m, hlen); in ip_output()
Dip.h92 u_int16_t ip_sum; /* checksum */ member
/external/tcpdump/
Dprint-ip.c526 u_int16_t sum, ip_sum; in ip_print() local
628 ip_sum = EXTRACT_16BITS(&ipds->ip->ip_sum); in ip_print()
629 (void)printf(", bad cksum %x (->%x)!", ip_sum, in ip_print()
630 in_cksum_shouldbe(ip_sum, sum)); in ip_print()
Dip.h63 u_int16_t ip_sum; /* checksum */ member
/external/dnsmasq/src/
Dbpf.c212 ip.ip_sum = 0; in send_via_bpf()
217 ip.ip_sum = (sum == 0xffff) ? sum : ~sum; in send_via_bpf()
/external/dhcpcd/
Dnet.c743 ip->ip_sum = checksum(ip, sizeof(*ip)); in make_udp_packet()
802 packet.ip.ip_sum = 0; in valid_udp_packet()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h376 u_short ip_sum; member
Dsctp_output.c4281 ip->ip_sum = 0;
11597 ip->ip_sum = 0;