diff options
author | Susant Sahani <ssahani@gmail.com> | 2021-01-14 14:01:38 +0100 |
---|---|---|
committer | Susant Sahani <ssahani@gmail.com> | 2021-01-14 14:01:38 +0100 |
commit | 60e49cf9e1e1fc6acc2f80a1abd6636bbd906332 (patch) | |
tree | d761949564597ad2aa178a4c72fe8b2ad47a9403 /src/basic/linux | |
parent | Merge pull request #18225 from poettering/tmpfiles-argument (diff) | |
download | systemd-60e49cf9e1e1fc6acc2f80a1abd6636bbd906332.tar.xz systemd-60e49cf9e1e1fc6acc2f80a1abd6636bbd906332.zip |
basic: Add macvlan netlink attributes
Diffstat (limited to 'src/basic/linux')
-rw-r--r-- | src/basic/linux/if_link.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/basic/linux/if_link.h b/src/basic/linux/if_link.h index c4b23f06f6..82708c6db4 100644 --- a/src/basic/linux/if_link.h +++ b/src/basic/linux/if_link.h @@ -75,8 +75,9 @@ struct rtnl_link_stats { * * @rx_dropped: Number of packets received but not processed, * e.g. due to lack of resources or unsupported protocol. - * For hardware interfaces this counter should not include packets - * dropped by the device which are counted separately in + * For hardware interfaces this counter may include packets discarded + * due to L2 address filtering but should not include packets dropped + * by the device due to buffer exhaustion which are counted separately in * @rx_missed_errors (since procfs folds those two counters together). * * @tx_dropped: Number of packets dropped on their way to transmission, @@ -588,6 +589,8 @@ enum { IFLA_MACVLAN_MACADDR, IFLA_MACVLAN_MACADDR_DATA, IFLA_MACVLAN_MACADDR_COUNT, + IFLA_MACVLAN_BC_QUEUE_LEN, + IFLA_MACVLAN_BC_QUEUE_LEN_USED, __IFLA_MACVLAN_MAX, }; |