aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vppcom.h')
-rw-r--r--src/vcl/vppcom.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index 08724cc31d8..c9f7b8b9403 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -63,6 +63,23 @@ extern "C"
VPPCOM_IS_IP4,
} vppcom_is_ip4_t;
+#define VCL_UDP_OPTS_BASE (VPPCOM_PROTO_UDP << 16)
+#define VCL_UDP_SEGMENT (VCL_UDP_OPTS_BASE + 0)
+
+ typedef struct vppcom_endpt_tlv_t_
+ {
+ uint32_t data_type;
+ uint32_t data_len;
+ union
+ {
+ /* data */
+ uint64_t value;
+ uint32_t as_u32[2];
+ uint16_t as_u16[4];
+ uint8_t as_u8[8];
+ };
+ } vppcom_endpt_tlv_t;
+
typedef struct vppcom_endpt_t_
{
uint8_t is_cut_thru;
@@ -70,6 +87,7 @@ extern "C"
uint8_t *ip;
uint16_t port;
uint64_t parent_handle;
+ vppcom_endpt_tlv_t app_data;
} vppcom_endpt_t;
typedef uint32_t vcl_session_handle_t;