2 * Copyright (c) 2019 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 #ifndef SRC_VNET_SESSION_APPLICATION_LOCAL_H_
18 #define SRC_VNET_SESSION_APPLICATION_LOCAL_H_
20 #include <vnet/session/application.h>
21 #include <vnet/session/transport.h>
23 typedef struct ct_connection_
25 transport_connection_t connection;
28 u32 transport_listener_index;
29 transport_proto_t actual_tp;
37 session_t *ct_session_get_peer (session_t * s);
38 void ct_session_endpoint (session_t * ll, session_endpoint_t * sep);
39 int ct_session_connect_notify (session_t * ls);
41 #endif /* SRC_VNET_SESSION_APPLICATION_LOCAL_H_ */
44 * fd.io coding-style-patch-verification: ON
47 * eval: (c-set-style "gnu")