Home | History | Annotate | Download | only in iputils

Lines Matching refs:u_short

123 	u_short	icmp_cksum;		/* ones complement cksum of struct */
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)) {
916 # define ODDBYTE(v) ((u_short)(v) << 8)
918 # define ODDBYTE(v) htons((u_short)(v) << 8)
921 u_short in_cksum(u_short *addr, int len)
924 register u_short *w = addr;
925 register u_short answer;