Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-carp.c74 if (ND_TTEST2(bp[0], len) && in_cksum(vec, 1)) in carp_print()
Dprint-mobile.c100 if (in_cksum(vec, 1)!=0) { in mobile_print()
Dprint-icmp.c565 sum = in_cksum(vec, 1); in icmp_print()
607 if (in_cksum(vec, 1)) { in icmp_print()
630 in_cksum(vec, 1) ? "in" : "", in icmp_print()
Din_cksum.c57 in_cksum(const struct cksum_vec *vec, int veclen) in in_cksum() function
Dprint-vrrp.c145 if (in_cksum(vec, 1)) in vrrp_print()
Dprint-ip.c168 return (in_cksum(vec, 2)); in nextproto4_cksum()
648 sum = in_cksum(vec, 1); in ip_print()
Dprint-ip6.c207 return in_cksum(vec, 2); in nextproto6_cksum()
Dprint-igmp.c335 if (in_cksum(vec, 1)) in igmp_print()
DAndroid.bp44 "in_cksum.c",
DMakefile.in84 in_cksum.c \
Dnetdissect.h631 extern uint16_t in_cksum(const struct cksum_vec *, int);
Dprint-pim.c680 cksum = in_cksum(vec, 1); in pimv2_check_checksum()
/external/iputils/
Drdisc.c210 static u_short in_cksum(u_short *addr, int len);
557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); in solicitor()
617 rap->icmp_cksum = in_cksum( (u_short *)rap, packetlen ); in advertise()
751 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { in pr_pack()
840 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { in pr_pack()
921 u_short in_cksum(u_short *addr, int len) in in_cksum() function
Dclockdiff.c48 int in_cksum(u_short *addr, int len) in in_cksum() function
198 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp) + 12); in measure()
376 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp)+12); in measure_opt()
Dping.c102 static u_short in_cksum(const u_short *addr, int len, u_short salt);
746 icp->checksum = in_cksum((u_short *)icp, cc, 0); in send_probe()
752 icp->checksum = in_cksum((u_short *)&tmp_tv, sizeof(tmp_tv), ~icp->checksum); in send_probe()
831 csfailed = in_cksum((u_short *)icp, cc, 0); in parse_reply()
952 in_cksum(const u_short *addr, register int len, u_short csum) in in_cksum() function
/external/toybox/toys/pending/
Dtraceroute.c88 static u_int16_t in_cksum(u_int16_t *p, u_int len) in in_cksum() function
127 send_icmp4->icmp_cksum = in_cksum((uint16_t *) send_icmp4, TT.msg_len); in send_probe4()
/external/tcpdump/win32/prj/
DWinDump.dsp136 SOURCE=..\..\in_cksum.c