Home
last modified time | relevance | path

Searched refs:is_ipv6 (Results 1 – 3 of 3) sorted by relevance

/security/tomoyo/
Dnetwork.c14 bool is_ipv6; member
59 ptr->is_ipv6 = false; in tomoyo_parse_ipaddr_union()
68 ptr->is_ipv6 = true; in tomoyo_parse_ipaddr_union()
126 if (ptr->is_ipv6) in tomoyo_print_ip()
384 if (r->param.inet_network.is_ipv6) in tomoyo_audit_inet_log()
423 const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; in tomoyo_check_inet_acl()
431 (r->param.inet_network.is_ipv6, in tomoyo_check_inet_acl()
433 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl()
478 r.param.inet_network.is_ipv6 = address->inet.is_ipv6; in tomoyo_inet_entry()
511 i->is_ipv6 = true; in tomoyo_check_inet_address()
[all …]
Dgroup.c179 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, in tomoyo_address_matches_group() argument
184 const u8 size = is_ipv6 ? 16 : 4; in tomoyo_address_matches_group()
189 if (member->address.is_ipv6 != is_ipv6) in tomoyo_address_matches_group()
Dcommon.h470 bool is_ipv6; member
533 bool is_ipv6; /* Valid only if @group == NULL. */ member
916 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address,
1263 a->is_ipv6 == b->is_ipv6; in tomoyo_same_ipaddr_union()