diff options
author | Florin Coras <fcoras@cisco.com> | 2020-04-04 22:45:34 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-04-06 14:53:17 +0000 |
commit | 57660d9df62756c5db1516be0dbb48505f996e82 (patch) | |
tree | ee671df3eda25c82fa684f12c6542ada65e60d7d /src/vnet/session/transport.h | |
parent | a2ffc6c2fee60a2289aa9aa549de8a88e4ca2d98 (diff) |
session udp: shared local endpoints
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ie7102355b95eefb233ec7d146e61819051a7bf07
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r-- | src/vnet/session/transport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h index eb98032b1e4..5592601983d 100644 --- a/src/vnet/session/transport.h +++ b/src/vnet/session/transport.h @@ -239,6 +239,8 @@ int transport_alloc_local_port (u8 proto, ip46_address_t * ip); int transport_alloc_local_endpoint (u8 proto, transport_endpoint_cfg_t * rmt, ip46_address_t * lcl_addr, u16 * lcl_port); +void transport_share_local_endpoint (u8 proto, ip46_address_t * lcl_ip, + u16 port); void transport_endpoint_cleanup (u8 proto, ip46_address_t * lcl_ip, u16 port); void transport_enable_disable (vlib_main_t * vm, u8 is_en); void transport_init (void); |