Searched refs:addrinfo (Results 1 – 1 of 1) sorted by relevance
336 struct netlbl_domaddr4_map *addrinfo = NULL; in netlbl_cfg_cipsov4_map_add() local361 addrinfo = kzalloc(sizeof(*addrinfo), GFP_ATOMIC); in netlbl_cfg_cipsov4_map_add()362 if (addrinfo == NULL) in netlbl_cfg_cipsov4_map_add()364 addrinfo->type_def.cipsov4 = doi_def; in netlbl_cfg_cipsov4_map_add()365 addrinfo->type = NETLBL_NLTYPE_CIPSOV4; in netlbl_cfg_cipsov4_map_add()366 addrinfo->list.addr = addr->s_addr & mask->s_addr; in netlbl_cfg_cipsov4_map_add()367 addrinfo->list.mask = mask->s_addr; in netlbl_cfg_cipsov4_map_add()368 addrinfo->list.valid = 1; in netlbl_cfg_cipsov4_map_add()369 ret_val = netlbl_af4list_add(&addrinfo->list, &addrmap->list4); in netlbl_cfg_cipsov4_map_add()392 kfree(addrinfo); in netlbl_cfg_cipsov4_map_add()