Add IPv4 counters.
Test: dumpsys tethering bpf Change-Id: Ie21fee8ad12430ecd21c3903587d25b8dd2a96c4
This commit is contained in:
committed by
Maciej Żenczykowski
parent
4e92da06fa
commit
d561b7f67c
@@ -31,10 +31,18 @@
|
||||
ERR(LOCAL_SRC_DST) \
|
||||
ERR(NO_STATS_ENTRY) \
|
||||
ERR(NO_LIMIT_ENTRY) \
|
||||
ERR(BELOW_IPV4_MTU) \
|
||||
ERR(BELOW_IPV6_MTU) \
|
||||
ERR(LIMIT_REACHED) \
|
||||
ERR(CHANGE_HEAD_FAILED) \
|
||||
ERR(TOO_SHORT) \
|
||||
ERR(HAS_IP_OPTIONS) \
|
||||
ERR(IS_IP_FRAG) \
|
||||
ERR(CHECKSUM) \
|
||||
ERR(NON_TCP_UDP) \
|
||||
ERR(SHORT_TCP_HEADER) \
|
||||
ERR(SHORT_UDP_HEADER) \
|
||||
ERR(TRUNCATED_IPV4) \
|
||||
ERR(_MAX)
|
||||
|
||||
#define ERR(x) BPF_TETHER_ERR_ ##x,
|
||||
|
||||
Reference in New Issue
Block a user