Home
last modified time | relevance | path

Searched refs:node6 (Results 1 – 13 of 13) sorted by relevance

/external/selinux/libsepol/src/
Dnodes.c43 memcpy(tmp_node->u.node6.addr, addr_buf, addr_bsize); in node_from_record()
44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); in node_from_record()
114 (const char *)&node->u.node6.addr, in node_to_record()
119 (const char *)&node->u.node6.mask, in node_to_record()
203 unsigned int *addr2 = c->u.node6.addr; in sepol_node_exists()
204 unsigned int *mask2 = c->u.node6.mask; in sepol_node_exists()
266 unsigned int *addr2 = c->u.node6.addr; in sepol_node_query()
267 unsigned int *mask2 = c->u.node6.mask; in sepol_node_query()
Dkernel_to_common.c517 rc = memcmp(&(*aa)->u.node6.mask, &(*bb)->u.node6.mask, sizeof((*aa)->u.node6.mask)); in node6_data_cmp()
524 return memcmp(&(*aa)->u.node6.addr, &(*bb)->u.node6.addr, sizeof((*aa)->u.node6.addr)); in node6_data_cmp()
Dkernel_to_conf.c2636 struct ocontext *node6; in write_selinux_node6_rules_to_conf() local
2642 for (node6 = pdb->ocontexts[6]; node6 != NULL; node6 = node6->next) { in write_selinux_node6_rules_to_conf()
2643 if (inet_ntop(AF_INET6, &node6->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf()
2649 if (inet_ntop(AF_INET6, &node6->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf()
2655 ctx = context_to_str(pdb, &node6->context[0]); in write_selinux_node6_rules_to_conf()
Dexpand.c2260 n->u.node6.addr[j] = c->u.node6.addr[j]; in ocontext_copy_selinux()
2262 n->u.node6.mask[j] = c->u.node6.mask[j]; in ocontext_copy_selinux()
Dservices.c2124 if (match_ipv6_addrmask(addrp, c->u.node6.addr, in sepol_node_sid()
2125 c->u.node6.mask)) in sepol_node_sid()
Dwrite.c1481 buf[j] = c->u.node6.addr[j]; /* network order */ in ocontext_write_selinux()
1483 buf[j + 4] = c->u.node6.mask[j]; /* network order */ in ocontext_write_selinux()
Dkernel_to_cil.c2782 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
2788 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
Dmodule_to_cil.c2773 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
2779 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
Dpolicydb.c2932 c->u.node6.addr[k] = buf[k]; in ocontext_read_selinux()
2935 c->u.node6.mask[k] = buf[k + 4]; in ocontext_read_selinux()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h353 } node6; /* IPv6 node information */ member
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc1270 Node* node6 = test::graph::Add(&g, node5, const1); in TEST() local
1292 s = session->Run({{const2->name(), string_handle}}, {node6->name() + ":0"}, in TEST()
1323 Node* node6 = test::graph::Add(&g, node5, const1); in TEST() local
1345 s = session->Run({{const2->name(), string_handle}}, {node6->name() + ":0"}, in TEST()
/external/selinux/checkpolicy/
Dpolicy_define.c5462 memcpy(&newc->u.node6.addr[0], &addr.s6_addr[0], 16); in define_ipv6_node_context()
5463 memcpy(&newc->u.node6.mask[0], &mask.s6_addr[0], 16); in define_ipv6_node_context()
5475 if (memcmp(&newc->u.node6.mask, &c->u.node6.mask, 16) > 0) in define_ipv6_node_context()
/external/selinux/libsepol/cil/src/
Dcil_binary.c3384 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
3385 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()