Lines Matching defs:nodecon
1921 struct cil_nodecon *nodecon = current->data;
1927 if (nodecon->addr_str != NULL) {
1928 rc = cil_resolve_name(current, nodecon->addr_str, CIL_SYM_IPADDRS, extra_args, &addr_datum);
1932 nodecon->addr = (struct cil_ipaddr*)addr_datum;
1935 if (nodecon->mask_str != NULL) {
1936 rc = cil_resolve_name(current, nodecon->mask_str, CIL_SYM_IPADDRS, extra_args, &mask_datum);
1940 nodecon->mask = (struct cil_ipaddr*)mask_datum;
1943 if (nodecon->context_str != NULL) {
1944 rc = cil_resolve_name(current, nodecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum);
1948 nodecon->context = (struct cil_context*)context_datum;
1950 rc = cil_resolve_context(current, nodecon->context, extra_args);
1956 if (nodecon->addr->family != nodecon->mask->family) {
1957 cil_log(CIL_ERR, "Nodecon ip address not in the same family\n");