Home
last modified time | relevance | path

Searched refs:rx_bytes (Results 1 - 1 of 1) sorted by relevance

/foundation/communication/netmanager_base/bpf/bpf_progs/
H A Dnetstats.c38 uint64_t rx_bytes; member
90 __sync_fetch_and_add(&value->rx_bytes, skb->len); in bpf_cgroup_skb_uid_ingress()
92 const char log[] = "[Uid ingress] sock_uid = %d, value->rx_packets = %d, value->rx_bytes = %d"; in bpf_cgroup_skb_uid_ingress()
93 bpf_trace_printk(log, sizeof(log), sock_uid, value->rx_packets, value->rx_bytes); in bpf_cgroup_skb_uid_ingress()
132 __sync_fetch_and_add(&value->rx_bytes, skb->len); in bpf_socket_iface_ingress()
134 const char log[] = "[Iface ingress] ifindex = %d, value->rx_packets = %d, value->rx_bytes = %d"; in bpf_socket_iface_ingress()
135 bpf_trace_printk(log, sizeof(log), key, value->rx_packets, value->rx_bytes); in bpf_socket_iface_ingress()

Completed in 1 milliseconds