vcl: support set/get vrf attribute
[vpp.git] / src / vcl / vcl_private.h
index 7104adc..21853eb 100644 (file)
@@ -161,6 +161,7 @@ typedef struct vcl_session_
   u32 attributes;              /**< see @ref vppcom_session_attr_t */
   int libc_epfd;
   u32 ckpair_index;
+  u32 vrf;
 
   u32 sndbuf_size;             // VPP-TBD: Hack until support setsockopt(SO_SNDBUF)
   u32 rcvbuf_size;             // VPP-TBD: Hack until support setsockopt(SO_RCVBUF)
@@ -699,6 +700,7 @@ int vcl_segment_attach_session (uword segment_handle, uword rxf_offset,
                                vcl_session_t *s);
 int vcl_segment_attach_mq (uword segment_handle, uword mq_offset, u32 mq_index,
                           svm_msg_q_t **mq);
+int vcl_segment_discover_mqs (uword segment_handle, int *fds, u32 n_fds);
 
 /*
  * VCL Binary API