Home
last modified time | relevance | path

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

/third_party/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.c513 rc = memcmp(&(*aa)->u.node6.mask, &(*bb)->u.node6.mask, sizeof((*aa)->u.node6.mask)); in node6_data_cmp()
520 return memcmp(&(*aa)->u.node6.addr, &(*bb)->u.node6.addr, sizeof((*aa)->u.node6.addr)); in node6_data_cmp()
Dkernel_to_conf.c2689 struct ocontext *node6; in write_selinux_node6_rules_to_conf() local
2695 for (node6 = pdb->ocontexts[6]; node6 != NULL; node6 = node6->next) { in write_selinux_node6_rules_to_conf()
2696 if (inet_ntop(AF_INET6, &node6->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf()
2702 if (inet_ntop(AF_INET6, &node6->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf()
2708 ctx = context_to_str(pdb, &node6->context[0]); in write_selinux_node6_rules_to_conf()
Dexpand.c2233 n->u.node6.addr[j] = c->u.node6.addr[j]; in ocontext_copy_selinux()
2235 n->u.node6.mask[j] = c->u.node6.mask[j]; in ocontext_copy_selinux()
Dservices.c2100 if (match_ipv6_addrmask(addrp, c->u.node6.addr, in sepol_node_sid()
2101 c->u.node6.mask)) in sepol_node_sid()
Dwrite.c1571 buf[j] = c->u.node6.addr[j]; /* network order */ in ocontext_write_selinux()
1573 buf[j + 4] = c->u.node6.mask[j]; /* network order */ in ocontext_write_selinux()
Dkernel_to_cil.c2822 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
2828 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
Dmodule_to_cil.c2747 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
2753 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
Dpolicydb.c3120 c->u.node6.addr[k] = buf[k]; in ocontext_read_selinux()
3123 c->u.node6.mask[k] = buf[k + 4]; in ocontext_read_selinux()
/third_party/node/deps/npm/node_modules/libnpmaccess/
DCHANGELOG.md106 * **node6:** stop using Object.entries() ([4fec03c](https://github.com/npm/libnpmaccess/commit/4fec…
/third_party/node/deps/npm/node_modules/figgy-pudding/
DCHANGELOG.md16 * **node:** get rid of Object.entries to add node6 support back ([074f779](https://github.com/zkat/…
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h355 } node6; /* IPv6 node information */ member
/third_party/selinux/checkpolicy/
Dpolicy_define.c5387 memcpy(&newc->u.node6.addr[0], &addr.s6_addr[0], 16); in define_ipv6_node_context()
5388 memcpy(&newc->u.node6.mask[0], &mask.s6_addr[0], 16); in define_ipv6_node_context()
5400 if (memcmp(&newc->u.node6.mask, &c->u.node6.mask, 16) > 0) in define_ipv6_node_context()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c3388 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
3389 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()