Home
last modified time | relevance | path

Searched refs:in_cksum (Results 1 – 12 of 12) sorted by relevance

/external/tcpdump/
Dprint-mobile.c104 if (in_cksum((u_short *)mob, osp ? 12 : 8, 0)!=0) { in mobile_print()
Dprint-vrrp.c113 if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0)) in vrrp_print()
Dprint-icmp.c564 sum = in_cksum((u_short*)dp, plen, 0); in icmp_print()
602 in_cksum((const u_short *)&ext_dp->icmp_ext_version_res, in icmp_print()
622 in_cksum((const u_short *)&ext_dp->icmp_ext_version_res, in icmp_print()
Dprint-ip.c276 in_cksum(const u_short *addr, register u_int len, int csum) in in_cksum() function
661 sum = in_cksum((const u_short *)ipds->ip, hlen, 0); in ip_print()
Dprint-igmp.c330 if (in_cksum((const u_short*)bp, len, 0)) in igmp_print()
Dprint-dccp.c89 return in_cksum((u_short *)dh, len, sp[0]+sp[1]+sp[2]+sp[3]+sp[4]+sp[5]); in dccp_cksum()
Dnetdissect.h431 extern u_short in_cksum(const u_short *,
Dinterface.h329 extern u_short in_cksum(const u_short *, register u_int, int);
Dprint-udp.c314 return in_cksum((u_short *)up, len, in udp_cksum()
Dprint-pim.c643 in_cksum((const u_short*)bp, len, 0) ? "in" : "" ); in pimv2_print()
Dprint-tcp.c141 return in_cksum((u_short *)tp, len, in tcp_cksum()
/external/ping/
Dping.c97 static u_short in_cksum(const u_short *addr, int len, u_short salt);
685 icp->checksum = in_cksum((u_short *)icp, cc, 0); in send_probe()
694 icp->checksum = in_cksum((u_short *)(icp+1), fake_fucked_egcs, ~icp->checksum); in send_probe()
767 csfailed = in_cksum((u_short *)icp, cc, 0); in parse_reply()
869 in_cksum(const u_short *addr, register int len, u_short csum) in in_cksum() function