diff options
author | Damjan Marion <damarion@cisco.com> | 2017-04-03 14:56:08 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-04-21 11:30:22 +0000 |
commit | e23680056e987eb5b4d4afdb5d4044d1973847e8 (patch) | |
tree | d5667f522d075f750e435dce44d6041bf7d43716 /src/vnet/udp/udp.h | |
parent | 128254a1c35585c9658d9ef31d688b46cbe90f0d (diff) |
Fix issue with udp port registration when running multithreaded
Change-Id: I16606757176649e61f0a51895329586311144766
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/udp/udp.h')
-rw-r--r-- | src/vnet/udp/udp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h index 7ab26ce96f0..bd163e273d2 100644 --- a/src/vnet/udp/udp.h +++ b/src/vnet/udp/udp.h @@ -146,6 +146,13 @@ typedef struct uword *dst_port_info_by_name[N_UDP_AF]; uword *dst_port_info_by_dst_port[N_UDP_AF]; + /* Sparse vector mapping udp dst_port in network byte order + to next index. */ + u16 *next_by_dst_port4; + u16 *next_by_dst_port6; + u8 punt_unknown4; + u8 punt_unknown6; + /* convenience */ vlib_main_t *vlib_main; } udp_main_t; |