Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
session: Add transport vft protocol options
[vpp.git]
/
src
/
vnet
/
session
/
transport.h
diff --git
a/src/vnet/session/transport.h
b/src/vnet/session/transport.h
index
fadb02d
..
978e3f0
100644
(file)
--- a/
src/vnet/session/transport.h
+++ b/
src/vnet/session/transport.h
@@
-19,6
+19,12
@@
#include <vnet/vnet.h>
#include <vnet/session/transport_types.h>
#include <vnet/vnet.h>
#include <vnet/session/transport_types.h>
+typedef struct _transport_options_t
+{
+ transport_tx_fn_type_t tx_type;
+ transport_service_type_t service_type;
+} transport_options_t;
+
/*
* Transport protocol virtual function table
*/
/*
* Transport protocol virtual function table
*/
@@
-74,8
+80,7
@@
typedef struct _transport_proto_vft
/*
* Properties
*/
/*
* Properties
*/
- transport_tx_fn_type_t tx_type;
- transport_service_type_t service_type;
+ transport_options_t transport_options;
} transport_proto_vft_t;
/* *INDENT-ON* */
} transport_proto_vft_t;
/* *INDENT-ON* */