Home
last modified time | relevance | path

Searched refs:mask6 (Results 1 – 2 of 2) sorted by relevance

/net/netlabel/
Dnetlabel_kapi.c114 const struct in6_addr *addr6, *mask6; in netlbl_cfg_unlbl_map_add() local
152 mask6 = mask; in netlbl_cfg_unlbl_map_add()
158 map6->list.addr.s6_addr32[0] &= mask6->s6_addr32[0]; in netlbl_cfg_unlbl_map_add()
159 map6->list.addr.s6_addr32[1] &= mask6->s6_addr32[1]; in netlbl_cfg_unlbl_map_add()
160 map6->list.addr.s6_addr32[2] &= mask6->s6_addr32[2]; in netlbl_cfg_unlbl_map_add()
161 map6->list.addr.s6_addr32[3] &= mask6->s6_addr32[3]; in netlbl_cfg_unlbl_map_add()
162 ipv6_addr_copy(&map6->list.mask, mask6); in netlbl_cfg_unlbl_map_add()
Dnetlabel_unlabeled.c512 struct in6_addr *addr6, *mask6; in netlbl_unlhsh_add() local
515 mask6 = (struct in6_addr *)mask; in netlbl_unlhsh_add()
516 ret_val = netlbl_unlhsh_add_addr6(iface, addr6, mask6, secid); in netlbl_unlhsh_add()
520 addr6, mask6); in netlbl_unlhsh_add()