session: api to add new transport types
[vpp.git] / src / vnet / session / session_lookup.h
index 63ba6c3..8224219 100644 (file)
@@ -61,10 +61,10 @@ transport_connection_t *session_lookup_connection6 (u32 fib_index,
                                                    u16 rmt_port, u8 proto);
 session_t *session_lookup_listener4 (u32 fib_index,
                                     ip4_address_t * lcl, u16 lcl_port,
-                                    u8 proto);
+                                    u8 proto, u8 use_wildcard);
 session_t *session_lookup_listener6 (u32 fib_index,
                                     ip6_address_t * lcl, u16 lcl_port,
-                                    u8 proto);
+                                    u8 proto, u8 use_wildcard);
 session_t *session_lookup_listener (u32 table_index,
                                    session_endpoint_t * sep);
 session_t *session_lookup_listener_wildcard (u32 table_index,
@@ -80,6 +80,7 @@ int session_lookup_add_session_endpoint (u32 table_index,
                                         session_endpoint_t * sep, u64 value);
 int session_lookup_del_session_endpoint (u32 table_index,
                                         session_endpoint_t * sep);
+int session_lookup_del_session_endpoint2 (session_endpoint_t * sep);
 int session_lookup_del_session (session_t * s);
 int session_lookup_del_half_open (transport_connection_t * tc);
 int session_lookup_add_half_open (transport_connection_t * tc, u64 value);