summaryrefslogtreecommitdiffstats
path: root/src/vnet/udp/udp.h
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2022-07-25 09:29:23 -0700
committerFlorin Coras <florin.coras@gmail.com>2022-08-31 16:19:15 +0000
commitbf12efc432823c83dc06ead6be2094ac605f0021 (patch)
treed28b0f2308e606eb4af6cc687eb80b61587e76d2 /src/vnet/udp/udp.h
parent005ef97f80e2327e6f6e6383e9c6a197a0d8b1f8 (diff)
udp: store mss and sw_if_index to udp_connection_t
Store mss and sw_if_index to udp_connection_t and display them via show sessipn verbose 2 Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I32928f3f4195b178873dc1bada702e035d99c464
Diffstat (limited to 'src/vnet/udp/udp.h')
-rw-r--r--src/vnet/udp/udp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h
index 92bcd1c44e7..d51805099ce 100644
--- a/src/vnet/udp/udp.h
+++ b/src/vnet/udp/udp.h
@@ -63,6 +63,7 @@ typedef struct
clib_spinlock_t rx_lock; /**< rx fifo lock */
u8 flags; /**< connection flags */
u16 mss; /**< connection mss */
+ u32 sw_if_index; /**< connection sw_if_index */
} udp_connection_t;
typedef struct