/external/tcpdump/ |
print-mobile.c | 104 if (in_cksum((u_short *)mob, osp ? 12 : 8, 0)!=0) {
|
print-vrrp.c | 113 if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0))
|
print-icmp.c | 564 sum = in_cksum((u_short*)dp, plen, 0); 602 in_cksum((const u_short *)&ext_dp->icmp_ext_version_res, 622 in_cksum((const u_short *)&ext_dp->icmp_ext_version_res,
|
print-ip.c | 276 in_cksum(const u_short *addr, register u_int len, int csum) function 661 sum = in_cksum((const u_short *)ipds->ip, hlen, 0);
|
print-igmp.c | 330 if (in_cksum((const u_short*)bp, len, 0))
|
interface.h | 329 extern u_short in_cksum(const u_short *, register u_int, int);
|
netdissect.h | 431 extern u_short in_cksum(const u_short *,
|
print-dccp.c | 89 return in_cksum((u_short *)dh, len, sp[0]+sp[1]+sp[2]+sp[3]+sp[4]+sp[5]);
|
print-pim.c | 643 in_cksum((const u_short*)bp, len, 0) ? "in" : "" );
|
print-tcp.c | 141 return in_cksum((u_short *)tp, len,
|
print-udp.c | 314 return in_cksum((u_short *)up, len,
|
/external/iputils/ |
rdisc.c | 210 static u_short in_cksum(u_short *addr, int len); 557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); 617 rap->icmp_cksum = in_cksum( (u_short *)rap, packetlen ); 751 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { 840 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { 921 u_short in_cksum(u_short *addr, int len) function [all...] |
ping.c | 102 static u_short in_cksum(const u_short *addr, int len, u_short salt); 743 icp->checksum = in_cksum((u_short *)icp, cc, 0); 749 icp->checksum = in_cksum((u_short *)&tmp_tv, sizeof(tmp_tv), ~icp->checksum); 828 csfailed = in_cksum((u_short *)icp, cc, 0); 949 in_cksum(const u_short *addr, register int len, u_short csum) function [all...] |
clockdiff.c | 48 int in_cksum(u_short *addr, int len) function 198 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp) + 12); 376 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp)+12);
|