Hi Sastry, 

As you can see from the code lower, vcl in 20.05 doesn’t. It is supported 
however since 21.01 [1]. 

Regards,
Florin

[1] https://git.fd.io/vpp/tree/src/vcl/vppcom.c?h=v21.01#n206

> On May 23, 2021, at 11:33 PM, Sastry Sista <[email protected]> wrote:
> 
> Hi,
>            lcl_ip and lcl_port looks source/local endpoint details  but, I do 
> not see if we are really copying it to session data:
> 
> Please confirm if this source address is supported in 20.05 fdio version?
> 
> 
> int
> vppcom_session_connect (uint32_t session_handle, vppcom_endpt_t * server_ep)
> {
> ....
> ....
> 
>  session->transport.is_ip4 = server_ep->is_ip4;
>   vcl_ip_copy_from_ep (&session->transport.rmt_ip, server_ep);
>   session->transport.rmt_port = server_ep->port;
>   session->parent_handle = VCL_INVALID_SESSION_HANDLE;
>   session->flags |= VCL_SESSION_F_CONNECTED;
>
>   VDBG (0, "session handle %u (%s): connecting to peer %s %U "
>         "port %d proto %s", session_handle,
>         vppcom_session_state_str (session->session_state),
>         session->transport.is_ip4 ? "IPv4" : "IPv6",
>         format_ip46_address,
>         &session->transport.rmt_ip, session->transport.is_ip4 ?
>         IP46_TYPE_IP4 : IP46_TYPE_IP6,
>         clib_net_to_host_u16 (session->transport.rmt_port),
>         vppcom_proto_str (session->session_type));
>
>   vcl_send_session_connect (wrk, session);
> 
> ...
> ...
> }
> 
> With Regards
> Sastry
>
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19445): https://lists.fd.io/g/vpp-dev/message/19445
Mute This Topic: https://lists.fd.io/mt/83043661/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to