Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dibpkey_record.c35 const char *subnet_prefix_str, in ibpkey_parse_subnet_prefix() argument
40 if (inet_pton(AF_INET6, subnet_prefix_str, &in_addr) <= 0) { in ibpkey_parse_subnet_prefix()
42 subnet_prefix_str, strerror(errno)); in ibpkey_parse_subnet_prefix()
57 char *subnet_prefix_str) in ibpkey_expand_subnet_prefix() argument
64 if (inet_ntop(AF_INET6, &addr, subnet_prefix_str, in ibpkey_expand_subnet_prefix()
147 char subnet_prefix_str[INET6_ADDRSTRLEN]; in hidden_def() local
149 ibpkey_expand_subnet_prefix(handle, ibpkey->subnet_prefix, subnet_prefix_str); in hidden_def()
152 (handle, subnet_prefix_str, ibpkey->low, ibpkey->high, key_ptr) < 0) { in hidden_def()
154 subnet_prefix_str, in hidden_def()
272 const char *subnet_prefix_str) in hidden_def()
[all …]
Dmodule_to_cil.c2647 char subnet_prefix_str[INET6_ADDRSTRLEN]; in ocontext_selinux_ibpkey_to_cil() local
2659 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_ibpkey_to_cil()
2667 cil_printf("(ibpkeycon %s %i ", subnet_prefix_str, low); in ocontext_selinux_ibpkey_to_cil()
2669 cil_printf("(ibpkeycon %s (%i %i) ", subnet_prefix_str, low, in ocontext_selinux_ibpkey_to_cil()
Dkernel_to_conf.c2687 char subnet_prefix_str[INET6_ADDRSTRLEN]; in write_selinux_ibpkey_rules_to_conf() local
2701 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in write_selinux_ibpkey_rules_to_conf()
2726 sepol_printf(out, "ibpkeycon %s %s %s\n", subnet_prefix_str, in write_selinux_ibpkey_rules_to_conf()
Dkernel_to_cil.c2814 char subnet_prefix_str[INET6_ADDRSTRLEN]; in write_selinux_ibpkey_rules_to_cil() local
2828 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in write_selinux_ibpkey_rules_to_cil()
2853 sepol_printf(out, "(ibpkeycon %s %s %s)\n", subnet_prefix_str, low_high_str, ctx); in write_selinux_ibpkey_rules_to_cil()
/external/selinux/libsemanage/src/
Dibpkeys_file.c27 char *subnet_prefix_str = NULL; in ibpkey_print() local
32 if (semanage_ibpkey_get_subnet_prefix(handle, ibpkey, &subnet_prefix_str) != 0) in ibpkey_print()
37 if (fprintf(str, "ibpkeycon %s ", subnet_prefix_str) < 0) in ibpkey_print()
53 free(subnet_prefix_str); in ibpkey_print()
59 subnet_prefix_str, low, high); in ibpkey_print()
60 free(subnet_prefix_str); in ibpkey_print()
Dibpkeys_local.c86 char *subnet_prefix_str; in hidden_def() local
103 &subnet_prefix_str)) { in hidden_def()
136 subnet_prefix_str, low, high, in hidden_def()
/external/selinux/libsepol/cil/src/
Dcil_internal.h750 char *subnet_prefix_str; member
Dcil_copy_ast.c1214 new->subnet_prefix_str = orig->subnet_prefix_str; in cil_copy_ibpkeycon()
Dcil_post.c243 rc = strcmp(aibpkeycon->subnet_prefix_str, bibpkeycon->subnet_prefix_str); in cil_post_ibpkeycon_compare()
Dcil_tree.c1419 cil_log(CIL_INFO, "IBPKEYCON: %s", ibpkeycon->subnet_prefix_str); in cil_tree_print_node()
Dcil_policy.c1721 fprintf(out, "ibpkeycon %s ", ibpkeycon->subnet_prefix_str); in cil_ibpkeycons_to_policy()
Dcil.c2458 (*ibpkeycon)->subnet_prefix_str = NULL; in cil_ibpkeycon_init()
Dcil_binary.c3165 rc = inet_pton(AF_INET6, cil_ibpkeycon->subnet_prefix_str, &subnet_prefix); in cil_ibpkeycon_to_policydb()
Dcil_build_ast.c4315 ibpkeycon->subnet_prefix_str = parse_current->next->data; in cil_gen_ibpkeycon()