Lines Matching refs:map6
105 struct netlbl_domaddr6_map *map6 = NULL; in netlbl_cfg_unlbl_map_add() local
147 map6 = kzalloc(sizeof(*map6), GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
148 if (map6 == NULL) in netlbl_cfg_unlbl_map_add()
150 map6->def.type = NETLBL_NLTYPE_UNLABELED; in netlbl_cfg_unlbl_map_add()
151 map6->list.addr = *addr6; in netlbl_cfg_unlbl_map_add()
152 map6->list.addr.s6_addr32[0] &= mask6->s6_addr32[0]; in netlbl_cfg_unlbl_map_add()
153 map6->list.addr.s6_addr32[1] &= mask6->s6_addr32[1]; in netlbl_cfg_unlbl_map_add()
154 map6->list.addr.s6_addr32[2] &= mask6->s6_addr32[2]; in netlbl_cfg_unlbl_map_add()
155 map6->list.addr.s6_addr32[3] &= mask6->s6_addr32[3]; in netlbl_cfg_unlbl_map_add()
156 map6->list.mask = *mask6; in netlbl_cfg_unlbl_map_add()
157 map6->list.valid = 1; in netlbl_cfg_unlbl_map_add()
158 ret_val = netlbl_af6list_add(&map6->list, in netlbl_cfg_unlbl_map_add()
187 kfree(map6); in netlbl_cfg_unlbl_map_add()