Searched refs:addr_node (Results 1 – 3 of 3) sorted by relevance
217 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr);
2549 struct cil_tree_node *addr_node = NULL; in cil_resolve_call1() local2558 cil_tree_node_init(&addr_node); in cil_resolve_call1()2559 addr_node->flavor = CIL_IPADDR; in cil_resolve_call1()2560 addr_node->data = ipaddr; in cil_resolve_call1()2562 CIL_LIST_ITEM, addr_node); in cil_resolve_call1()
5144 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr) in cil_fill_ipaddr() argument5148 if (addr_node == NULL || addr == NULL) { in cil_fill_ipaddr()5152 if (addr_node->cl_head != NULL || addr_node->next != NULL) { in cil_fill_ipaddr()5156 if (strchr(addr_node->data, '.') != NULL) { in cil_fill_ipaddr()5162 rc = inet_pton(addr->family, addr_node->data, &addr->ip); in cil_fill_ipaddr()