X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsession%2Fapplication_interface.c;h=0245f58d3b10a807a9e06b717642fed1e333f2d4;hb=288eaab5964b9211350acad8d742fae4789577fe;hp=c3c84fd8da9d9edb38acd88dbdc4c9af2c5c0b7a;hpb=8d991d923b52a2692370bfa33902d29ff5d2f826;p=vpp.git diff --git a/src/vnet/session/application_interface.c b/src/vnet/session/application_interface.c index c3c84fd8da9..0245f58d3b1 100644 --- a/src/vnet/session/application_interface.c +++ b/src/vnet/session/application_interface.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Cisco and/or its affiliates. + * Copyright (c) 2016-2019 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -120,7 +120,7 @@ int api_parse_session_handle (u64 handle, u32 * session_index, u32 * thread_index) { session_manager_main_t *smm = vnet_get_session_manager_main (); - stream_session_t *pool; + session_t *pool; *thread_index = handle & 0xFFFFFFFF; *session_index = handle >> 32; @@ -245,7 +245,7 @@ vnet_bind_inline (vnet_bind_args_t * a) if (ll_handle != SESSION_INVALID_HANDLE) { local_session_t *ll; - stream_session_t *tl; + session_t *tl; ll = application_get_local_listener_w_handle (ll_handle); tl = listen_session_get_from_handle (a->handle); if (ll->transport_listener_index == ~0) @@ -287,7 +287,7 @@ application_connect (vnet_connect_args_t * a) { app_worker_t *server_wrk, *client_wrk; u32 table_index, server_index, li; - stream_session_t *listener; + session_t *listener; application_t *client, *server; local_session_t *ll; u8 fib_proto; @@ -326,7 +326,7 @@ application_connect (vnet_connect_args_t * a) { server = application_get (server_index); ll = application_get_local_listen_session (server, li); - listener = (stream_session_t *) ll; + listener = (session_t *) ll; server_wrk = application_listener_select_worker (listener, 1 /* is_local */ ); return application_local_session_connect (client_wrk, @@ -603,7 +603,7 @@ int vnet_unbind_uri (vnet_unbind_args_t * a) { session_endpoint_cfg_t sep = SESSION_ENDPOINT_CFG_NULL; - stream_session_t *listener; + session_t *listener; u32 table_index; int rv; @@ -657,7 +657,7 @@ vnet_disconnect_session (vnet_disconnect_args_t * a) else { app_worker_t *app_wrk; - stream_session_t *s; + session_t *s; s = session_get_from_handle_if_valid (a->handle); if (!s)