Lines Matching defs:cil_nodecon
3098 struct cil_nodecon *cil_nodecon = nodecons->array[i];
3100 if (cil_nodecon->addr->family == AF_INET) {
3102 new_ocon->u.node.addr = cil_nodecon->addr->ip.v4.s_addr;
3103 new_ocon->u.node.mask = cil_nodecon->mask->ip.v4.s_addr;
3104 } else if (cil_nodecon->addr->family == AF_INET6) {
3106 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16);
3107 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16);
3114 rc = __cil_context_to_sepol_context(pdb, cil_nodecon->context, &new_ocon->context[0]);