Home
last modified time | relevance | path

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

/third_party/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); 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()
144 char subnet_prefix_str[INET6_ADDRSTRLEN]; in sepol_ibpkey_key_extract() local
146 ibpkey_expand_subnet_prefix(handle, ibpkey->subnet_prefix, subnet_prefix_str); in sepol_ibpkey_key_extract()
149 (handle, subnet_prefix_str, ibpkey->low, ibpkey->high, key_ptr) < 0) { in sepol_ibpkey_key_extract()
151 subnet_prefix_str, in sepol_ibpkey_key_extract()
264 const char *subnet_prefix_str) in sepol_ibpkey_set_subnet_prefix() argument
[all …]
Dmodule_to_cil.c2670 char subnet_prefix_str[INET6_ADDRSTRLEN]; in ocontext_selinux_ibpkey_to_cil() local
2682 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_ibpkey_to_cil()
2689 cil_printf("(ibpkeycon %s %i ", subnet_prefix_str, low); in ocontext_selinux_ibpkey_to_cil()
2691 cil_printf("(ibpkeycon %s (%i %i) ", subnet_prefix_str, low, in ocontext_selinux_ibpkey_to_cil()
Dkernel_to_conf.c2783 char subnet_prefix_str[INET6_ADDRSTRLEN]; in write_selinux_ibpkey_rules_to_conf() local
2797 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in write_selinux_ibpkey_rules_to_conf()
2821 sepol_printf(out, "ibpkeycon %s %s %s\n", subnet_prefix_str, in write_selinux_ibpkey_rules_to_conf()
Dkernel_to_cil.c2914 char subnet_prefix_str[INET6_ADDRSTRLEN]; in write_selinux_ibpkey_rules_to_cil() local
2928 subnet_prefix_str, INET6_ADDRSTRLEN) == NULL) { in write_selinux_ibpkey_rules_to_cil()
2952 sepol_printf(out, "(ibpkeycon %s %s %s)\n", subnet_prefix_str, low_high_str, ctx); in write_selinux_ibpkey_rules_to_cil()
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h758 char *subnet_prefix_str; member
Dcil_copy_ast.c1206 new->subnet_prefix_str = orig->subnet_prefix_str; in cil_copy_ibpkeycon()
Dcil_post.c257 rc = strcmp(aibpkeycon->subnet_prefix_str, bibpkeycon->subnet_prefix_str); in cil_post_ibpkeycon_compare()
Dcil_write_ast.c1274 fprintf(out, "(ibpkeycon %s ", ibpkeycon->subnet_prefix_str); in cil_write_ast_node()
Dcil_policy.c1724 fprintf(out, "ibpkeycon %s ", ibpkeycon->subnet_prefix_str); in cil_ibpkeycons_to_policy()
Dcil.c2551 (*ibpkeycon)->subnet_prefix_str = NULL; in cil_ibpkeycon_init()
Dcil_binary.c3347 rc = inet_pton(AF_INET6, cil_ibpkeycon->subnet_prefix_str, &subnet_prefix); in cil_ibpkeycon_to_policydb()
Dcil_build_ast.c4316 ibpkeycon->subnet_prefix_str = parse_current->next->data; in cil_gen_ibpkeycon()