Searched refs:addr_node (Results 1 – 3 of 3) sorted by relevance
232 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr);
2927 struct cil_tree_node *addr_node = NULL; in cil_resolve_call1() local2937 cil_tree_node_init(&addr_node); in cil_resolve_call1()2938 addr_node->flavor = CIL_IPADDR; in cil_resolve_call1()2939 addr_node->data = ipaddr; in cil_resolve_call1()2941 CIL_LIST_ITEM, addr_node); in cil_resolve_call1()
5669 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr) in cil_fill_ipaddr() argument5673 if (addr_node == NULL || addr == NULL) { in cil_fill_ipaddr()5677 if (addr_node->cl_head != NULL || addr_node->next != NULL) { in cil_fill_ipaddr()5681 if (strchr(addr_node->data, '.') != NULL) { in cil_fill_ipaddr()5687 rc = inet_pton(addr->family, addr_node->data, &addr->ip); in cil_fill_ipaddr()