Home
last modified time | relevance | path

Searched refs:addr_node (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_build_ast.h232 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr);
Dcil_resolve_ast.c2927 struct cil_tree_node *addr_node = NULL; in cil_resolve_call1() local
2937 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()
Dcil_build_ast.c5669 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr) in cil_fill_ipaddr() argument
5673 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()