Lines Matching refs:u_short
73 u_short
74 LibAliasInternetChecksum(struct libalias *la __unused, u_short * ptr,
98 u_short
101 return (LibAliasInternetChecksum(NULL, (u_short *) pip,
106 u_short
109 u_short *ptr;
118 ptr = (u_short *) tc;
140 sum += htons((u_short) ntcp);
141 sum += htons((u_short) pip->ip_p);
148 return ((u_short) ~ sum);
153 DifferentialChecksum(u_short * cksum, void *newp, void *oldp, int n)
157 u_short *new = newp;
158 u_short *old = oldp;
170 *cksum = (u_short) ~ accumulate;
174 *cksum = (u_short) accumulate;