Home
last modified time | relevance | path

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

/external/c-ares/
Dares_data.c91 if (ptr->data.addr_node.next) in ares_free_data()
92 ares_free_data(ptr->data.addr_node.next); in ares_free_data()
145 ptr->data.addr_node.next = NULL; in ares_malloc_data()
146 ptr->data.addr_node.family = 0; in ares_malloc_data()
147 memset(&ptr->data.addr_node.addrV6, 0, in ares_malloc_data()
148 sizeof(ptr->data.addr_node.addrV6)); in ares_malloc_data()
Dares_data.h58 struct ares_addr_node addr_node; member
/external/selinux/libsepol/cil/src/
Dcil_build_ast.h228 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr);
Dcil_resolve_ast.c2874 struct cil_tree_node *addr_node = NULL; in cil_resolve_call1() local
2883 cil_tree_node_init(&addr_node); in cil_resolve_call1()
2884 addr_node->flavor = CIL_IPADDR; in cil_resolve_call1()
2885 addr_node->data = ipaddr; in cil_resolve_call1()
2887 CIL_LIST_ITEM, addr_node); in cil_resolve_call1()
Dcil_build_ast.c5488 int cil_fill_ipaddr(struct cil_tree_node *addr_node, struct cil_ipaddr *addr) in cil_fill_ipaddr() argument
5492 if (addr_node == NULL || addr == NULL) { in cil_fill_ipaddr()
5496 if (addr_node->cl_head != NULL || addr_node->next != NULL) { in cil_fill_ipaddr()
5500 if (strchr(addr_node->data, '.') != NULL) { in cil_fill_ipaddr()
5506 rc = inet_pton(addr->family, addr_node->data, &addr->ip); in cil_fill_ipaddr()