summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/if.h3
-rw-r--r--lib/zclient.c1
2 files changed, 4 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
diff --git a/lib/zclient.c b/lib/zclient.c
index e40725826a..68a3429822 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -2761,6 +2761,7 @@ static void zebra_interface_if_set_value(struct stream *s,
STREAM_GETC(s, ifp->ptm_status);
STREAM_GETL(s, ifp->metric);
STREAM_GETL(s, ifp->speed);
+ STREAM_GETL(s, ifp->txqlen);
STREAM_GETL(s, ifp->mtu);
STREAM_GETL(s, ifp->mtu6);
STREAM_GETL(s, ifp->bandwidth);