Home | History | Annotate | Download | only in src

Lines Matching refs:nodecon

1785 	struct cil_nodecon *nodecon = current->data;
1791 if (nodecon->addr_str != NULL) {
1792 rc = cil_resolve_name(current, nodecon->addr_str, CIL_SYM_IPADDRS, extra_args, &addr_datum);
1796 nodecon->addr = (struct cil_ipaddr*)addr_datum;
1799 if (nodecon->mask_str != NULL) {
1800 rc = cil_resolve_name(current, nodecon->mask_str, CIL_SYM_IPADDRS, extra_args, &mask_datum);
1804 nodecon->mask = (struct cil_ipaddr*)mask_datum;
1807 if (nodecon->context_str != NULL) {
1808 rc = cil_resolve_name(current, nodecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum);
1812 nodecon->context = (struct cil_context*)context_datum;
1814 rc = cil_resolve_context(current, nodecon->context, extra_args);
1820 if (nodecon->addr->family != nodecon->mask->family) {
1821 cil_log(CIL_ERR, "Nodecon ip address not in the same family\n");