/external/tcpdump/ |
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);
|
/external/iputils/ |
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);
|
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...] |
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...] |