diff options
author | Florin Coras <fcoras@cisco.com> | 2020-03-13 04:44:51 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-03-25 18:56:27 +0000 |
commit | 07063b8ea39b05d5d7bb00ad2a2363b11792c571 (patch) | |
tree | 2df1cd5b5df869c729f534f093dea664eb059f3a /src/vnet/udp/udp.c | |
parent | 4e783b9c901cf90e58c3f921bb17170ab23e540a (diff) |
session: api to add new transport types
Type: feature
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If4dee6dba1ea942daa921d566b35cdecdda680ee
Diffstat (limited to 'src/vnet/udp/udp.c')
-rw-r--r-- | src/vnet/udp/udp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/udp/udp.c b/src/vnet/udp/udp.c index 109f4683e7f..8fa1147b030 100644 --- a/src/vnet/udp/udp.c +++ b/src/vnet/udp/udp.c @@ -361,6 +361,8 @@ static const transport_proto_vft_t udp_proto = { .format_half_open = format_udp_half_open_session, .format_listener = format_udp_listener_session, .transport_options = { + .name = "udp", + .short_name = "U", .tx_type = TRANSPORT_TX_DGRAM, .service_type = TRANSPORT_SERVICE_CL, }, @@ -415,6 +417,8 @@ static const transport_proto_vft_t udpc_proto = { .format_half_open = format_udp_half_open_session, .format_listener = format_udp_listener_session, .transport_options = { + .name = "udpc", + .short_name = "U", .tx_type = TRANSPORT_TX_DGRAM, .service_type = TRANSPORT_SERVICE_VC, .half_open_has_fifos = 1 |