Home
last modified time | relevance | path

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

/security/tomoyo/
Dnetwork.c15 bool is_ipv6; member
60 ptr->is_ipv6 = false; in tomoyo_parse_ipaddr_union()
69 ptr->is_ipv6 = true; in tomoyo_parse_ipaddr_union()
127 if (ptr->is_ipv6) in tomoyo_print_ip()
385 if (r->param.inet_network.is_ipv6) in tomoyo_audit_inet_log()
424 const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; in tomoyo_check_inet_acl()
432 (r->param.inet_network.is_ipv6, in tomoyo_check_inet_acl()
434 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl()
479 r.param.inet_network.is_ipv6 = address->inet.is_ipv6; in tomoyo_inet_entry()
514 i->is_ipv6 = true; in tomoyo_check_inet_address()
[all …]
Dgroup.c189 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, in tomoyo_address_matches_group() argument
194 const u8 size = is_ipv6 ? 16 : 4; in tomoyo_address_matches_group()
200 if (member->address.is_ipv6 != is_ipv6) in tomoyo_address_matches_group()
Dcommon.h474 bool is_ipv6; member
537 bool is_ipv6; /* Valid only if @group == NULL. */ member
927 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address,
1267 a->is_ipv6 == b->is_ipv6; in tomoyo_same_ipaddr_union()