]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
basic: Add macvlan netlink attributes
authorSusant Sahani <ssahani@gmail.com>
Thu, 14 Jan 2021 13:01:38 +0000 (14:01 +0100)
committerSusant Sahani <ssahani@gmail.com>
Thu, 14 Jan 2021 13:01:38 +0000 (14:01 +0100)
src/basic/linux/if_link.h

index c4b23f06f69e0f503585c99d422969086821ce2d..82708c6db432251e7a680c3dc657cc048c6f58e9 100644 (file)
@@ -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,
 };