Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dnetsys.c301 socket_cookie_stats_key sock_cookie = bpf_get_socket_cookie(skb); in bpf_cgroup_skb_uid_ingress() local
302 app_cookie_stats_value *value_cookie = bpf_map_lookup_elem(&app_cookie_stats_map, &sock_cookie); in bpf_cgroup_skb_uid_ingress()
305 bpf_map_update_elem(&app_cookie_stats_map, &sock_cookie, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_ingress()
306 value_cookie = bpf_map_lookup_elem(&app_cookie_stats_map, &sock_cookie); in bpf_cgroup_skb_uid_ingress()
392 socket_cookie_stats_key sock_cookie = bpf_get_socket_cookie(skb); in bpf_cgroup_skb_uid_egress() local
393 app_cookie_stats_value *value_cookie = bpf_map_lookup_elem(&app_cookie_stats_map, &sock_cookie); in bpf_cgroup_skb_uid_egress()
396 bpf_map_update_elem(&app_cookie_stats_map, &sock_cookie, &newValue, BPF_NOEXIST); in bpf_cgroup_skb_uid_egress()
397 value_cookie = bpf_map_lookup_elem(&app_cookie_stats_map, &sock_cookie); in bpf_cgroup_skb_uid_egress()