Searched refs:in_cksum (Results 1 – 12 of 12) sorted by relevance
/external/tcpdump/ |
D | print-mobile.c | 104 if (in_cksum((u_short *)mob, osp ? 12 : 8, 0)!=0) { in mobile_print()
|
D | print-vrrp.c | 113 if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0)) in vrrp_print()
|
D | print-icmp.c | 564 sum = in_cksum((u_short*)dp, plen, 0); in icmp_print() 602 in_cksum((const u_short *)&ext_dp->icmp_ext_version_res, in icmp_print() 622 in_cksum((const u_short *)&ext_dp->icmp_ext_version_res, in icmp_print()
|
D | print-ip.c | 276 in_cksum(const u_short *addr, register u_int len, int csum) in in_cksum() function 661 sum = in_cksum((const u_short *)ipds->ip, hlen, 0); in ip_print()
|
D | print-igmp.c | 330 if (in_cksum((const u_short*)bp, len, 0)) in igmp_print()
|
D | print-dccp.c | 89 return in_cksum((u_short *)dh, len, sp[0]+sp[1]+sp[2]+sp[3]+sp[4]+sp[5]); in dccp_cksum()
|
D | netdissect.h | 431 extern u_short in_cksum(const u_short *,
|
D | interface.h | 329 extern u_short in_cksum(const u_short *, register u_int, int);
|
D | print-udp.c | 314 return in_cksum((u_short *)up, len, in udp_cksum()
|
D | print-pim.c | 643 in_cksum((const u_short*)bp, len, 0) ? "in" : "" ); in pimv2_print()
|
D | print-tcp.c | 141 return in_cksum((u_short *)tp, len, in tcp_cksum()
|
/external/ping/ |
D | ping.c | 97 static u_short in_cksum(const u_short *addr, int len, u_short salt); 685 icp->checksum = in_cksum((u_short *)icp, cc, 0); in send_probe() 694 icp->checksum = in_cksum((u_short *)(icp+1), fake_fucked_egcs, ~icp->checksum); in send_probe() 767 csfailed = in_cksum((u_short *)icp, cc, 0); in parse_reply() 869 in_cksum(const u_short *addr, register int len, u_short csum) in in_cksum() function
|