Home
last modified time | relevance | path

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

/foundation/communication/netmanager_base/bpf/bpf_progs/
H A Dnetstats.c40 uint64_t tx_bytes; member
111 __sync_fetch_and_add(&value->tx_bytes, skb->len); in bpf_cgroup_skb_uid_egress()
113 const char log[] = "[Uid egress] sock_uid = %d, value->tx_packets = %d, value->tx_bytes = %d"; in bpf_cgroup_skb_uid_egress()
114 bpf_trace_printk(log, sizeof(log), sock_uid, value->tx_packets, value->tx_bytes); in bpf_cgroup_skb_uid_egress()
152 __sync_fetch_and_add(&value->tx_bytes, skb->len); in bpf_socket_iface_egress()
154 const char log[] = "[Iface egress] ifindex = %d, value->tx_packets = %d, value->tx_bytes = %d"; in bpf_socket_iface_egress()
155 bpf_trace_printk(log, sizeof(log), key, value->tx_packets, value->tx_bytes); in bpf_socket_iface_egress()

Completed in 1 milliseconds