Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-carp.c73 if (ND_TTEST2(bp[0], len) && in_cksum(vec, 1)) in carp_print()
Dprint-mobile.c99 if (in_cksum(vec, 1)!=0) { in mobile_print()
Dprint-icmp.c564 sum = in_cksum(vec, 1); in icmp_print()
604 if (in_cksum(vec, 1)) { in icmp_print()
626 in_cksum(vec, 1) ? "in" : "", in icmp_print()
Dprint-vrrp.c144 if (in_cksum(vec, 1)) in vrrp_print()
Din_cksum.c58 in_cksum(const struct cksum_vec *vec, int veclen) in in_cksum() function
Dprint-ip.c161 return (in_cksum(vec, 2)); in nextproto4_cksum()
460 pim_print(ndo, ipds->cp, ipds->len, in_cksum(vec, 1)); in ip_print_demux()
625 sum = in_cksum(vec, 1); in ip_print()
Dinterface.h174 extern uint16_t in_cksum(const struct cksum_vec *, int);
DAndroid.mk11 in_cksum.c \
Dprint-ip6.c68 return in_cksum(vec, 2); in nextproto6_cksum()
Dprint-igmp.c334 if (in_cksum(vec, 1)) in igmp_print()
DMakefile.in82 in_cksum.c \
Dnetdissect.h613 extern uint16_t in_cksum(const struct cksum_vec *, int);
/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()