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.c2689 char subnet_prefix_str[INET6_ADDRSTRLEN]; in ocontext_selinux_ibpkey_to_cil() local
2701 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_ibpkey_to_cil()
2709 cil_printf("(ibpkeycon %s %i ", subnet_prefix_str, low); in ocontext_selinux_ibpkey_to_cil()
2711 cil_printf("(ibpkeycon %s (%i %i) ", subnet_prefix_str, low, in ocontext_selinux_ibpkey_to_cil()
Dkernel_to_conf.c2651 char subnet_prefix_str[INET6_ADDRSTRLEN]; in write_selinux_ibpkey_rules_to_conf() local
2665 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in write_selinux_ibpkey_rules_to_conf()
2690 sepol_printf(out, "ibpkeycon %s %s %s\n", subnet_prefix_str, in write_selinux_ibpkey_rules_to_conf()
Dkernel_to_cil.c2790 char subnet_prefix_str[INET6_ADDRSTRLEN]; in write_selinux_ibpkey_rules_to_cil() local
2804 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in write_selinux_ibpkey_rules_to_cil()
2829 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.h747 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.c1415 cil_log(CIL_INFO, "IBPKEYCON: %s", ibpkeycon->subnet_prefix_str); in cil_tree_print_node()
Dcil_policy.c1724 fprintf(out, "ibpkeycon %s ", ibpkeycon->subnet_prefix_str); in cil_ibpkeycons_to_policy()
Dcil.c2294 (*ibpkeycon)->subnet_prefix_str = NULL; in cil_ibpkeycon_init()
Dcil_binary.c3232 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()