Lines Matching refs:w

94 	uint16_t scope, *w;  in _in6_cksum_pseudo()  local
119 w = (u_int16_t *)&ip6->ip6_src; in _in6_cksum_pseudo()
120 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in _in6_cksum_pseudo()
121 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in _in6_cksum_pseudo()
127 w = (u_int16_t *)&ip6->ip6_dst; in _in6_cksum_pseudo()
128 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in _in6_cksum_pseudo()
129 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in _in6_cksum_pseudo()
152 uint16_t *w; in in6_cksumdata() local
168 w = data; in in6_cksumdata()
175 s_util.c[1] = *(uint8_t *)w; in in6_cksumdata()
177 w = (uint16_t *)((uint8_t *)w + 1); in in6_cksumdata()
185 if ((1 & (uintptr_t)w) && len > 0) { in in6_cksumdata()
188 s_util.c[0] = *(uint8_t *)w; in in6_cksumdata()
189 w = (uint16_t *)((uint8_t *)w + 1); in in6_cksumdata()
198 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksumdata()
199 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in6_cksumdata()
200 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in in6_cksumdata()
201 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in in6_cksumdata()
202 w += 16; in in6_cksumdata()
206 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksumdata()
207 w += 4; in in6_cksumdata()
214 sum += *w++; in in6_cksumdata()
220 s_util.c[1] = *(uint8_t *)w; in in6_cksumdata()
226 *residp = *(uint8_t *)w; in in6_cksumdata()
264 uint16_t *w, scope; in in6_cksum_partial_l2() local
297 w = (uint16_t *)&ip6->ip6_src; in in6_cksum_partial_l2()
298 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksum_partial_l2()
299 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in6_cksum_partial_l2()
305 w = (uint16_t *)&ip6->ip6_dst; in in6_cksum_partial_l2()
306 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksum_partial_l2()
307 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in6_cksum_partial_l2()