TCP proxy prototype
[vpp.git] / src / vnet / session / application.h
index 6bcee9d..29d37a0 100644 (file)
@@ -61,18 +61,6 @@ typedef struct _application
   /** Flags */
   u32 flags;
 
-  /* Stream server mode: accept or connect
-   * TODO REMOVE*/
-  u8 mode;
-
-  /** Index of the listen session or connect session
-   * TODO REMOVE*/
-  u32 session_index;
-
-  /** Session thread index for client connect sessions
-   * TODO REMOVE */
-  u32 thread_index;
-
   /*
    * Binary API interface to external app
    */
@@ -128,6 +116,7 @@ segment_manager_t *application_get_listen_segment_manager (application_t *
                                                           s);
 segment_manager_t *application_get_connect_segment_manager (application_t *
                                                            app);
+int application_is_proxy (application_t * app);
 
 #endif /* SRC_VNET_SESSION_APPLICATION_H_ */