Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 1 | /* |
Florin Coras | 288eaab | 2019-02-03 15:26:14 -0800 | [diff] [blame] | 2 | * Copyright (c) 2017-2019 Cisco and/or its affiliates. |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 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: |
| 6 | * |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | * |
| 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. |
| 14 | */ |
| 15 | |
| 16 | #ifndef SRC_VNET_SESSION_APPLICATION_H_ |
| 17 | #define SRC_VNET_SESSION_APPLICATION_H_ |
| 18 | |
Florin Coras | c1a4265 | 2019-02-08 18:27:29 -0800 | [diff] [blame] | 19 | #include <vnet/session/application_interface.h> |
| 20 | #include <vnet/session/application_namespace.h> |
Florin Coras | 1ee7830 | 2019-02-05 15:51:15 -0800 | [diff] [blame] | 21 | #include <vnet/session/session_types.h> |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 22 | #include <vnet/session/segment_manager.h> |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 23 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 24 | #define APP_DEBUG 0 |
| 25 | |
| 26 | #if APP_DEBUG > 0 |
| 27 | #define APP_DBG(_fmt, _args...) clib_warning (_fmt, ##_args) |
| 28 | #else |
| 29 | #define APP_DBG(_fmt, _args...) |
| 30 | #endif |
| 31 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 32 | typedef struct app_worker_ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 33 | { |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 34 | CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); |
| 35 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 36 | /** Worker index in global worker pool*/ |
| 37 | u32 wrk_index; |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 38 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 39 | /** Worker index in app's map pool */ |
| 40 | u32 wrk_map_index; |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 41 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 42 | /** Index of owning app */ |
| 43 | u32 app_index; |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 44 | |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 45 | /** Application listens for events on this svm queue */ |
Florin Coras | 3c2fed5 | 2018-07-04 04:15:05 -0700 | [diff] [blame] | 46 | svm_msg_q_t *event_queue; |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 47 | |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 48 | /** Segment manager used for outgoing connects issued by the app */ |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 49 | u32 connects_seg_manager; |
| 50 | |
Florin Coras | c87c91d | 2017-08-16 19:55:49 -0700 | [diff] [blame] | 51 | /** Lookup tables for listeners. Value is segment manager index */ |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 52 | uword *listeners_table; |
| 53 | |
Florin Coras | 7999e83 | 2017-10-31 01:51:04 -0700 | [diff] [blame] | 54 | /** |
| 55 | * First segment manager has in the the first segment the application's |
Florin Coras | c87c91d | 2017-08-16 19:55:49 -0700 | [diff] [blame] | 56 | * event fifo. Depending on what the app does, it may be either used for |
Florin Coras | 7999e83 | 2017-10-31 01:51:04 -0700 | [diff] [blame] | 57 | * a listener or for connects. |
| 58 | */ |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 59 | u32 first_segment_manager; |
Florin Coras | 0e9c33b | 2017-08-14 22:33:41 -0700 | [diff] [blame] | 60 | u8 first_segment_manager_in_use; |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 61 | |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 62 | /* |
| 63 | * Local "cut through" connections specific |
| 64 | */ |
| 65 | |
| 66 | /** Segment manager used for incoming "cut through" connects */ |
| 67 | u32 local_segment_manager; |
| 68 | |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 69 | /** Pool of local sessions the app owns (as a server) */ |
| 70 | local_session_t *local_sessions; |
| 71 | |
| 72 | /** Hash table of the app's local connects */ |
| 73 | uword *local_connects; |
Florin Coras | 371ca50 | 2018-02-21 12:07:41 -0800 | [diff] [blame] | 74 | |
Florin Coras | 053a0e4 | 2018-11-13 15:52:38 -0800 | [diff] [blame] | 75 | /** API index for the worker. Needed for multi-process apps */ |
Florin Coras | c1f5a43 | 2018-11-20 11:31:26 -0800 | [diff] [blame] | 76 | u32 api_client_index; |
Florin Coras | 053a0e4 | 2018-11-13 15:52:38 -0800 | [diff] [blame] | 77 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 78 | u8 app_is_builtin; |
| 79 | } app_worker_t; |
| 80 | |
| 81 | typedef struct app_worker_map_ |
| 82 | { |
| 83 | u32 wrk_index; |
| 84 | } app_worker_map_t; |
| 85 | |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 86 | typedef struct app_listener_ |
| 87 | { |
| 88 | clib_bitmap_t *workers; /**< workers accepting connections */ |
| 89 | u32 accept_rotor; /**< last worker to accept a connection */ |
| 90 | u32 al_index; |
Florin Coras | c9940fc | 2019-02-05 20:55:11 -0800 | [diff] [blame] | 91 | u32 app_index; |
| 92 | u32 local_index; |
| 93 | u32 session_index; |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 94 | } app_listener_t; |
| 95 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 96 | typedef struct application_ |
| 97 | { |
| 98 | /** App index in app pool */ |
| 99 | u32 app_index; |
| 100 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 101 | /** Flags */ |
| 102 | u32 flags; |
| 103 | |
| 104 | /** Callbacks: shoulder-taps for the server/client */ |
| 105 | session_cb_vft_t cb_fns; |
| 106 | |
| 107 | /** Segment manager properties. Shared by all segment managers */ |
| 108 | segment_manager_properties_t sm_properties; |
| 109 | |
| 110 | /** Pool of mappings that keep track of workers associated to this app */ |
| 111 | app_worker_map_t *worker_maps; |
| 112 | |
| 113 | /** Name registered by builtin apps */ |
| 114 | u8 *name; |
| 115 | |
| 116 | /** Namespace the application belongs to */ |
| 117 | u32 ns_index; |
| 118 | |
| 119 | u16 proxied_transports; |
| 120 | |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 121 | /** Pool of listeners for the app */ |
| 122 | app_listener_t *listeners; |
| 123 | |
| 124 | /** Pool of local listeners for app */ |
| 125 | app_listener_t *local_listeners; |
| 126 | |
| 127 | /** Pool of local listen sessions */ |
| 128 | local_session_t *local_listen_sessions; |
| 129 | |
Florin Coras | 371ca50 | 2018-02-21 12:07:41 -0800 | [diff] [blame] | 130 | /* |
| 131 | * TLS Specific |
| 132 | */ |
| 133 | |
| 134 | /** Certificate to be used for listen sessions */ |
| 135 | u8 *tls_cert; |
| 136 | |
| 137 | /** PEM encoded key */ |
| 138 | u8 *tls_key; |
Florin Coras | 58d36f0 | 2018-03-09 13:05:53 -0800 | [diff] [blame] | 139 | |
| 140 | /** Preferred tls engine */ |
| 141 | u8 tls_engine; |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 142 | |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 143 | } application_t; |
| 144 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 145 | typedef struct app_main_ |
| 146 | { |
| 147 | /** |
| 148 | * Pool from which we allocate all applications |
| 149 | */ |
| 150 | application_t *app_pool; |
| 151 | |
| 152 | /** |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 153 | * Hash table of apps by api client index |
| 154 | */ |
| 155 | uword *app_by_api_client_index; |
| 156 | |
| 157 | /** |
| 158 | * Hash table of builtin apps by name |
| 159 | */ |
| 160 | uword *app_by_name; |
| 161 | } app_main_t; |
| 162 | |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 163 | typedef struct app_init_args_ |
| 164 | { |
| 165 | #define _(_type, _name) _type _name; |
| 166 | foreach_app_init_args |
| 167 | #undef _ |
| 168 | } app_init_args_t; |
| 169 | |
| 170 | typedef struct _vnet_app_worker_add_del_args |
| 171 | { |
| 172 | u32 app_index; /**< App for which a new worker is requested */ |
Florin Coras | 349f8ca | 2018-11-20 16:52:49 -0800 | [diff] [blame] | 173 | u32 wrk_map_index; /**< Index to delete or return value if add */ |
Florin Coras | c1f5a43 | 2018-11-20 11:31:26 -0800 | [diff] [blame] | 174 | u32 api_client_index; /**< Binary API client index */ |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 175 | ssvm_private_t *segment; /**< First segment in segment manager */ |
Florin Coras | fa76a76 | 2018-11-29 12:40:10 -0800 | [diff] [blame] | 176 | u64 segment_handle; /**< Handle for the segment */ |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 177 | svm_msg_q_t *evt_q; /**< Worker message queue */ |
| 178 | u8 is_add; /**< Flag set if addition */ |
| 179 | } vnet_app_worker_add_del_args_t; |
| 180 | |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 181 | #define APP_INVALID_INDEX ((u32)~0) |
| 182 | #define APP_NS_INVALID_INDEX ((u32)~0) |
Florin Coras | c87c91d | 2017-08-16 19:55:49 -0700 | [diff] [blame] | 183 | #define APP_INVALID_SEGMENT_MANAGER_INDEX ((u32) ~0) |
| 184 | |
Florin Coras | c9940fc | 2019-02-05 20:55:11 -0800 | [diff] [blame] | 185 | app_listener_t *app_listener_get (application_t * app, u32 al_index); |
| 186 | int app_listener_alloc_and_init (application_t * app, |
| 187 | session_endpoint_cfg_t * sep, |
| 188 | app_listener_t ** listener); |
| 189 | void app_listener_cleanup (app_listener_t * app_listener); |
| 190 | session_handle_t app_listener_handle (app_listener_t * app_listener); |
| 191 | app_listener_t *app_listener_lookup (application_t * app, |
| 192 | session_endpoint_cfg_t * sep); |
| 193 | app_listener_t *app_listener_get_w_handle (session_handle_t handle); |
| 194 | app_listener_t *app_listener_get_w_session (session_t * ls); |
| 195 | app_worker_t *app_listener_select_worker (app_listener_t * al); |
| 196 | session_t *app_listener_get_session (app_listener_t * al); |
| 197 | |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 198 | application_t *application_get (u32 index); |
Florin Coras | e04c299 | 2017-03-01 08:17:34 -0800 | [diff] [blame] | 199 | application_t *application_get_if_valid (u32 index); |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 200 | application_t *application_lookup (u32 api_client_index); |
Florin Coras | 0bee9ce | 2018-03-22 21:24:31 -0700 | [diff] [blame] | 201 | application_t *application_lookup_name (const u8 * name); |
Florin Coras | 1553197 | 2018-08-12 23:50:53 -0700 | [diff] [blame] | 202 | app_worker_t *application_get_worker (application_t * app, u32 wrk_index); |
| 203 | app_worker_t *application_get_default_worker (application_t * app); |
Florin Coras | c9940fc | 2019-02-05 20:55:11 -0800 | [diff] [blame] | 204 | app_worker_t *application_listener_select_worker (session_t * ls); |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 205 | int application_change_listener_owner (session_t * s, app_worker_t * app_wrk); |
Dave Barach | 52851e6 | 2017-08-07 09:35:25 -0400 | [diff] [blame] | 206 | int application_is_proxy (application_t * app); |
Florin Coras | 7999e83 | 2017-10-31 01:51:04 -0700 | [diff] [blame] | 207 | int application_is_builtin (application_t * app); |
| 208 | int application_is_builtin_proxy (application_t * app); |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 209 | u32 application_session_table (application_t * app, u8 fib_proto); |
| 210 | u32 application_local_session_table (application_t * app); |
Florin Coras | 053a0e4 | 2018-11-13 15:52:38 -0800 | [diff] [blame] | 211 | const u8 *application_name_from_index (u32 app_or_wrk); |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 212 | u8 application_has_local_scope (application_t * app); |
| 213 | u8 application_has_global_scope (application_t * app); |
Florin Coras | 6011699 | 2018-08-27 09:52:18 -0700 | [diff] [blame] | 214 | u8 application_use_mq_for_ctrl (application_t * app); |
Florin Coras | 7999e83 | 2017-10-31 01:51:04 -0700 | [diff] [blame] | 215 | void application_setup_proxy (application_t * app); |
| 216 | void application_remove_proxy (application_t * app); |
| 217 | |
Florin Coras | a332c46 | 2018-01-31 06:52:17 -0800 | [diff] [blame] | 218 | segment_manager_properties_t *application_get_segment_manager_properties (u32 |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 219 | app_index); |
| 220 | |
Florin Coras | a332c46 | 2018-01-31 06:52:17 -0800 | [diff] [blame] | 221 | segment_manager_properties_t |
| 222 | * application_segment_manager_properties (application_t * app); |
| 223 | |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 224 | /* |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 225 | * App worker |
| 226 | */ |
| 227 | |
| 228 | app_worker_t *app_worker_alloc (application_t * app); |
| 229 | int application_alloc_worker_and_init (application_t * app, |
| 230 | app_worker_t ** wrk); |
| 231 | app_worker_t *app_worker_get (u32 wrk_index); |
| 232 | app_worker_t *app_worker_get_if_valid (u32 wrk_index); |
| 233 | application_t *app_worker_get_app (u32 wrk_index); |
| 234 | int app_worker_own_session (app_worker_t * app_wrk, session_t * s); |
| 235 | void app_worker_free (app_worker_t * app_wrk); |
Florin Coras | c9940fc | 2019-02-05 20:55:11 -0800 | [diff] [blame] | 236 | int app_worker_connect_session (app_worker_t * app, session_endpoint_t * tep, |
| 237 | u32 api_context); |
| 238 | int app_worker_start_listen (app_worker_t * app_wrk, app_listener_t * lstnr); |
| 239 | int app_worker_stop_listen (app_worker_t * app_wrk, app_listener_t * al); |
Florin Coras | a27a46e | 2019-02-18 13:02:28 -0800 | [diff] [blame] | 240 | int app_worker_init_accepted (session_t * s); |
| 241 | int app_worker_accept_notify (app_worker_t * app_wrk, session_t * s); |
| 242 | int app_worker_init_connected (app_worker_t * app_wrk, session_t * s); |
| 243 | int app_worker_connect_notify (app_worker_t * app_wrk, session_t * s, |
| 244 | u32 opaque); |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 245 | segment_manager_t *app_worker_get_listen_segment_manager (app_worker_t *, |
| 246 | session_t *); |
| 247 | segment_manager_t *app_worker_get_connect_segment_manager (app_worker_t *); |
| 248 | segment_manager_t |
| 249 | * app_worker_get_or_alloc_connect_segment_manager (app_worker_t *); |
| 250 | int app_worker_alloc_connects_segment_manager (app_worker_t * app); |
| 251 | int app_worker_add_segment_notify (u32 app_or_wrk, u64 segment_handle); |
| 252 | u32 app_worker_n_listeners (app_worker_t * app); |
| 253 | session_t *app_worker_first_listener (app_worker_t * app, |
| 254 | u8 fib_proto, u8 transport_proto); |
| 255 | u8 app_worker_application_is_builtin (app_worker_t * app_wrk); |
| 256 | int app_worker_send_event (app_worker_t * app, session_t * s, u8 evt); |
| 257 | int app_worker_lock_and_send_event (app_worker_t * app, session_t * s, |
| 258 | u8 evt_type); |
| 259 | session_t *app_worker_proxy_listener (app_worker_t * app, u8 fib_proto, |
| 260 | u8 transport_proto); |
| 261 | u8 *format_app_worker (u8 * s, va_list * args); |
| 262 | u8 *format_app_worker_listener (u8 * s, va_list * args); |
| 263 | void app_worker_format_connects (app_worker_t * app_wrk, int verbose); |
Florin Coras | c1a4265 | 2019-02-08 18:27:29 -0800 | [diff] [blame] | 264 | int vnet_app_worker_add_del (vnet_app_worker_add_del_args_t * a); |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 265 | |
| 266 | /* |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 267 | * Local session |
| 268 | */ |
| 269 | |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 270 | local_session_t *app_worker_local_session_alloc (app_worker_t * app); |
| 271 | void app_worker_local_session_free (app_worker_t * app, local_session_t * ls); |
| 272 | local_session_t *app_worker_get_local_session (app_worker_t * app, |
| 273 | u32 session_index); |
| 274 | local_session_t *app_worker_get_local_session_from_handle (session_handle_t |
| 275 | handle); |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 276 | int app_worker_local_session_connect (app_worker_t * client, |
| 277 | app_worker_t * server, |
| 278 | local_session_t * ls, u32 opaque); |
| 279 | int app_worker_local_session_connect_notify (local_session_t * ls); |
| 280 | int app_worker_local_session_disconnect (u32 app_or_wrk, |
| 281 | local_session_t * ls); |
| 282 | int app_worker_local_session_disconnect_w_index (u32 app_or_wrk, |
| 283 | u32 ls_index); |
| 284 | void app_worker_format_local_sessions (app_worker_t * app_wrk, int verbose); |
| 285 | void app_worker_format_local_connects (app_worker_t * app, int verbose); |
Florin Coras | 3c2fed5 | 2018-07-04 04:15:05 -0700 | [diff] [blame] | 286 | |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 287 | always_inline local_session_t * |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 288 | application_get_local_listen_session (application_t * app, u32 session_index) |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 289 | { |
| 290 | return pool_elt_at_index (app->local_listen_sessions, session_index); |
| 291 | } |
| 292 | |
Florin Coras | 5fda7a3 | 2018-02-14 08:04:31 -0800 | [diff] [blame] | 293 | always_inline local_session_t * |
| 294 | application_get_local_listener_w_handle (session_handle_t handle) |
| 295 | { |
Florin Coras | ab2f6db | 2018-08-31 14:31:41 -0700 | [diff] [blame] | 296 | u32 server_index, session_index; |
| 297 | application_t *app; |
| 298 | local_session_parse_handle (handle, &server_index, &session_index); |
| 299 | app = application_get (server_index); |
Florin Coras | 5fda7a3 | 2018-02-14 08:04:31 -0800 | [diff] [blame] | 300 | return application_get_local_listen_session (app, session_index); |
| 301 | } |
| 302 | |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 303 | always_inline u8 |
| 304 | application_local_session_listener_has_transport (local_session_t * ls) |
| 305 | { |
| 306 | transport_proto_t tp; |
| 307 | tp = session_type_transport_proto (ls->listener_session_type); |
| 308 | return (tp != TRANSPORT_PROTO_NONE); |
| 309 | } |
| 310 | |
Florin Coras | a44d6b1 | 2018-10-03 14:29:10 -0700 | [diff] [blame] | 311 | void mq_send_local_session_disconnected_cb (u32 app_or_wrk, |
Florin Coras | 9936831 | 2018-08-02 10:45:44 -0700 | [diff] [blame] | 312 | local_session_t * ls); |
Florin Coras | 371ca50 | 2018-02-21 12:07:41 -0800 | [diff] [blame] | 313 | |
Florin Coras | 371ca50 | 2018-02-21 12:07:41 -0800 | [diff] [blame] | 314 | uword unformat_application_proto (unformat_input_t * input, va_list * args); |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 315 | |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 316 | #endif /* SRC_VNET_SESSION_APPLICATION_H_ */ |
| 317 | |
| 318 | /* |
| 319 | * fd.io coding-style-patch-verification: ON |
| 320 | * |
| 321 | * Local Variables: |
| 322 | * eval: (c-set-style "gnu") |
| 323 | * End: |
| 324 | */ |