Searched refs:is_ingress (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/core/ |
D | bpf-firewall.c | 44 bool is_ingress, in add_lookup_instructions() argument 56 addr_offset = is_ingress ? in add_lookup_instructions() 63 addr_offset = is_ingress ? in add_lookup_instructions() 149 bool is_ingress, in bpf_firewall_compile_bpf() argument 203 accounting_map_fd = is_ingress ? in bpf_firewall_compile_bpf() 238 … r = add_lookup_instructions(p, u->ipv4_deny_map_fd, ETH_P_IP, is_ingress, ACCESS_DENIED); in bpf_firewall_compile_bpf() 244 … r = add_lookup_instructions(p, u->ipv6_deny_map_fd, ETH_P_IPV6, is_ingress, ACCESS_DENIED); in bpf_firewall_compile_bpf() 250 … r = add_lookup_instructions(p, u->ipv4_allow_map_fd, ETH_P_IP, is_ingress, ACCESS_ALLOWED); in bpf_firewall_compile_bpf() 256 … r = add_lookup_instructions(p, u->ipv6_allow_map_fd, ETH_P_IPV6, is_ingress, ACCESS_ALLOWED); in bpf_firewall_compile_bpf()
|