Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-carp.c76 if (TTEST2(bp[0], len) && in_cksum(vec, 1)) in carp_print()
Dprint-mobile.c107 if (in_cksum(vec, 1)!=0) { in mobile_print()
Dprint-vrrp.c118 if (in_cksum(vec, 1)) in vrrp_print()
Dprint-icmp.c568 sum = in_cksum(vec, 1); in icmp_print()
608 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-ip.c162 return (in_cksum(vec, 2)); in nextproto4_cksum()
461 pim_print(ipds->cp, ipds->len, in_cksum(vec, 1)); in ip_print_demux()
626 sum = in_cksum(vec, 1); in ip_print()
DAndroid.mk5 nlpid.c l2vpn.c machdep.c parsenfsfh.c in_cksum.c \
Dprint-ip6.c75 return in_cksum(vec, 2); in nextproto6_cksum()
Dprint-igmp.c338 if (in_cksum(vec, 1)) in igmp_print()
Dinterface.h368 extern u_int16_t in_cksum(const struct cksum_vec *, int);
Dnetdissect.h552 extern u_int16_t in_cksum(const struct cksum_vec *, int);
DMakefile.in75 nlpid.c l2vpn.c machdep.c parsenfsfh.c in_cksum.c \
/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