Lines Matching refs:scope
94 uint16_t scope, *w; in _in6_cksum_pseudo() local
118 scope = in6_getscope(&ip6->ip6_src); in _in6_cksum_pseudo()
122 if (scope != 0) in _in6_cksum_pseudo()
123 sum -= scope; in _in6_cksum_pseudo()
126 scope = in6_getscope(&ip6->ip6_dst); in _in6_cksum_pseudo()
130 if (scope != 0) in _in6_cksum_pseudo()
131 sum -= scope; in _in6_cksum_pseudo()
263 uint16_t *w, scope; in in6_cksum_partial() local
294 scope = in6_getscope(&ip6->ip6_src); in in6_cksum_partial()
298 if (scope != 0) in in6_cksum_partial()
299 sum -= scope; in in6_cksum_partial()
302 scope = in6_getscope(&ip6->ip6_dst); in in6_cksum_partial()
306 if (scope != 0) in in6_cksum_partial()
307 sum -= scope; in in6_cksum_partial()