Searched refs:addrinfo (Results 1 – 2 of 2) sorted by relevance
333 struct netlbl_domaddr4_map *addrinfo = NULL; in netlbl_cfg_cipsov4_map_add() local359 addrinfo = kzalloc(sizeof(*addrinfo), GFP_ATOMIC); in netlbl_cfg_cipsov4_map_add()360 if (addrinfo == NULL) in netlbl_cfg_cipsov4_map_add()362 addrinfo->def.cipso = doi_def; in netlbl_cfg_cipsov4_map_add()363 addrinfo->def.type = NETLBL_NLTYPE_CIPSOV4; in netlbl_cfg_cipsov4_map_add()364 addrinfo->list.addr = addr->s_addr & mask->s_addr; in netlbl_cfg_cipsov4_map_add()365 addrinfo->list.mask = mask->s_addr; in netlbl_cfg_cipsov4_map_add()366 addrinfo->list.valid = 1; in netlbl_cfg_cipsov4_map_add()367 ret_val = netlbl_af4list_add(&addrinfo->list, &addrmap->list4); in netlbl_cfg_cipsov4_map_add()385 kfree(addrinfo); in netlbl_cfg_cipsov4_map_add()[all …]
1318 struct smp_cmd_ident_addr_info addrinfo; in smp_distribute_keys() local1331 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()1332 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys()1334 smp_send_cmd(conn, SMP_CMD_IDENT_ADDR_INFO, sizeof(addrinfo), in smp_distribute_keys()1335 &addrinfo); in smp_distribute_keys()