summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2023-09-01 10:06:10 -0400
committerMark Stapp <mjs@labn.net>2023-09-01 10:06:10 -0400
commit7b8a4249ea9481ced4a5c29a7b5cacc0e3acb80d (patch)
tree00bf1649958cb472ffa12b2217a6f53cfec0aeab /lib/if.h
parent030d2f0b8bd671cac091f965b8c3925e879ba3b0 (diff)
lib,zebra: add tx queuelen to interface struct
Add the txqlen attribute to the common interface struct. Capture the value in zebra, and distribute it through the interface lib module's zapi messaging. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index c6b4fd216a..7b4415da45 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -252,6 +252,9 @@ struct interface {
/* Interface Speed in Mb/s */
uint32_t speed;
+ /* TX queue len */
+ uint32_t txqlen;
+
/* Interface MTU. */
unsigned int mtu; /* IPv4 MTU */
unsigned int