Searched refs:lookup_map (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_match.h | 131 static __always_inline struct bitmap *lookup_map(void *map, void *key, void *other_key) in lookup_map() function 166 result = lookup_map(GET_MAP(ingress, saddr), &lpm_key, &other_lpm_key); in match_addrs() 174 result = lookup_map(GET_MAP(ingress, daddr), &lpm_key, &other_lpm_key); in match_addrs() 189 result = lookup_map(GET_MAP(ingress, saddr6), &lpm_key, &other_lpm_key); in match_addrs() 196 result = lookup_map(GET_MAP(ingress, daddr6), &lpm_key, &other_lpm_key); in match_addrs() 221 result = lookup_map(GET_MAP(ingress, sport), &(tuple->sport), &other_port_key); in match_ports() 227 result = lookup_map(GET_MAP(ingress, dport), &(tuple->dport), &other_port_key); in match_ports() 252 result = lookup_map(GET_MAP(ingress, proto), &(tuple->protocol), &other_proto_key); in match_protocol() 278 result = lookup_map(GET_MAP(ingress, appuid), &(tuple->appuid), &other_appuid_key); in match_appuid() 304 result = lookup_map(GET_MAP(ingress, uid), &(tuple->uid), &other_uid_key); in match_uid()
|