Lines Matching refs:inet_network
383 const __be32 *address = r->param.inet_network.address; in tomoyo_audit_inet_log()
385 if (r->param.inet_network.is_ipv6) in tomoyo_audit_inet_log()
392 r->param.inet_network.port); in tomoyo_audit_inet_log()
393 return tomoyo_audit_net_log(r, "inet", r->param.inet_network.protocol, in tomoyo_audit_inet_log()
394 r->param.inet_network.operation, buf); in tomoyo_audit_inet_log()
424 const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; in tomoyo_check_inet_acl()
426 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
427 !tomoyo_compare_number_union(r->param.inet_network.port, in tomoyo_check_inet_acl()
432 (r->param.inet_network.is_ipv6, in tomoyo_check_inet_acl()
433 r->param.inet_network.address, acl->address.group); in tomoyo_check_inet_acl()
434 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl()
436 r->param.inet_network.address, size) <= 0 && in tomoyo_check_inet_acl()
437 memcmp(r->param.inet_network.address, in tomoyo_check_inet_acl()
477 r.param.inet_network.protocol = address->protocol; in tomoyo_inet_entry()
478 r.param.inet_network.operation = address->operation; in tomoyo_inet_entry()
479 r.param.inet_network.is_ipv6 = address->inet.is_ipv6; in tomoyo_inet_entry()
480 r.param.inet_network.address = address->inet.address; in tomoyo_inet_entry()
481 r.param.inet_network.port = ntohs(address->inet.port); in tomoyo_inet_entry()