Searched refs:node6 (Results 1 – 12 of 12) sorted by relevance
/external/selinux/libsepol/src/ |
D | nodes.c | 43 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()
|
D | kernel_to_common.c | 511 rc = memcmp(&(*aa)->u.node6.mask, &(*bb)->u.node6.mask, sizeof((*aa)->u.node6.mask)); in node6_data_cmp() 518 return memcmp(&(*aa)->u.node6.addr, &(*bb)->u.node6.addr, sizeof((*aa)->u.node6.addr)); in node6_data_cmp()
|
D | kernel_to_conf.c | 2610 struct ocontext *node6; in write_selinux_node6_rules_to_conf() local 2616 for (node6 = pdb->ocontexts[6]; node6 != NULL; node6 = node6->next) { in write_selinux_node6_rules_to_conf() 2617 if (inet_ntop(AF_INET6, &node6->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf() 2623 if (inet_ntop(AF_INET6, &node6->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf() 2629 ctx = context_to_str(pdb, &node6->context[0]); in write_selinux_node6_rules_to_conf()
|
D | expand.c | 2239 n->u.node6.addr[j] = c->u.node6.addr[j]; in ocontext_copy_selinux() 2241 n->u.node6.mask[j] = c->u.node6.mask[j]; in ocontext_copy_selinux()
|
D | services.c | 2050 if (match_ipv6_addrmask(addrp, c->u.node6.addr, in sepol_node_sid() 2051 c->u.node6.mask)) in sepol_node_sid()
|
D | write.c | 1450 buf[j] = c->u.node6.addr[j]; /* network order */ in ocontext_write_selinux() 1452 buf[j + 4] = c->u.node6.mask[j]; /* network order */ in ocontext_write_selinux()
|
D | kernel_to_cil.c | 2756 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil() 2762 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
|
D | module_to_cil.c | 2715 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil() 2721 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
|
D | policydb.c | 2833 c->u.node6.addr[k] = buf[k]; in ocontext_read_selinux() 2836 c->u.node6.mask[k] = buf[k + 4]; in ocontext_read_selinux()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 350 } node6; /* IPv6 node information */ member
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 5263 memcpy(&newc->u.node6.addr[0], &addr.s6_addr[0], 16); in define_ipv6_node_context() 5264 memcpy(&newc->u.node6.mask[0], &mask.s6_addr[0], 16); in define_ipv6_node_context() 5276 if (memcmp(&newc->u.node6.mask, &c->u.node6.mask, 16) > 0) in define_ipv6_node_context()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 3309 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb() 3310 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
|