Searched refs:GET_MAP (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_match.h | 166 result = lookup_map(GET_MAP(ingress, saddr), &lpm_key, &other_lpm_key);
in match_addrs() 173 result = lookup_map(GET_MAP(ingress, daddr), &lpm_key, &other_lpm_key);
in match_addrs() 187 result = lookup_map(GET_MAP(ingress, saddr6), &lpm_key, &other_lpm_key);
in match_addrs() 194 result = lookup_map(GET_MAP(ingress, daddr6), &lpm_key, &other_lpm_key);
in match_addrs() 219 result = lookup_map(GET_MAP(ingress, sport), &(tuple->sport), &other_port_key);
in match_ports() 225 result = lookup_map(GET_MAP(ingress, dport), &(tuple->dport), &other_port_key);
in match_ports() 250 result = lookup_map(GET_MAP(ingress, proto), &(tuple->protocol), &other_proto_key);
in match_protocol() 276 result = lookup_map(GET_MAP(ingress, appuid), &(tuple->appuid), &other_appuid_key);
in match_appuid() 302 result = lookup_map(GET_MAP(ingress, uid), &(tuple->uid), &other_uid_key);
in match_uid() 389 struct bitmap *action_bitmap = bpf_map_lookup_elem(GET_MAP(ingres in match_action() [all...] |
H A D | netfirewall_map_def.h | 59 #define GET_MAP(ingress, name) ((ingress) ? &in_##name##_map : &out_##name##_map)
macro
|
Completed in 1 milliseconds