Home
last modified time | relevance | path

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

/linux-2.6.39/net/netlabel/
Dnetlabel_kapi.c336 struct netlbl_domaddr4_map *addrinfo = NULL; in netlbl_cfg_cipsov4_map_add() local
361 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()
391 kfree(addrinfo); in netlbl_cfg_cipsov4_map_add()
/linux-2.6.39/drivers/staging/hv/tools/
Dhv_kvp_daemon.c267 struct addrinfo hints, *info ; in kvp_get_domain_name()