Re: [strongSwan] Davici parsing of terminating an IKE connection

2018-08-07 Thread rajeev nohria
Let me know if I am incorrect ,  user_data is the last parameter in the
davici_queue?


1) Now Is it right practice to add few more elements in tester stucture to
passed in call back function? These additional elements  can be used to
mange the response of deleting the connections.

2) If there are many davici requests are happening in parallel , For each
request does davici make copy of user_Data, or it is overwritten with last
call of  tester structure information.

3) Is there any limit of size of data can be added?

Thanks,
Rajeev


On Tue, Jun 26, 2018 at 8:00 AM, Tobias Brunner 
wrote:

> > Question: Is there way to know when we parse response from Davici that
> > which conenction is deleted? If yes what parameter of davici we get
> > information? i see reqcb() parse the davici reponse.
>
> Two things:  1. Requests queued on the same connection are processed
> sequentially.  2. You can pass user data when queuing a request that's
> later passed to the callback.
>
> Regards,
> Tobias
>


Re: [strongSwan] Davici parsing of terminating an IKE connection

2018-06-26 Thread rajeev nohria
Thanks a lot..
Rajeev

On Tue, Jun 26, 2018 at 8:00 AM, Tobias Brunner 
wrote:

> > Question: Is there way to know when we parse response from Davici that
> > which conenction is deleted? If yes what parameter of davici we get
> > information? i see reqcb() parse the davici reponse.
>
> Two things:  1. Requests queued on the same connection are processed
> sequentially.  2. You can pass user data when queuing a request that's
> later passed to the callback.
>
> Regards,
> Tobias
>


Re: [strongSwan] Davici parsing of terminating an IKE connection

2018-06-26 Thread Tobias Brunner
> Question: Is there way to know when we parse response from Davici that
> which conenction is deleted? If yes what parameter of davici we get
> information? i see reqcb() parse the davici reponse.

Two things:  1. Requests queued on the same connection are processed
sequentially.  2. You can pass user data when queuing a request that's
later passed to the callback.

Regards,
Tobias


[strongSwan] Davici parsing of terminating an IKE connection

2018-06-26 Thread rajeev nohria
Scenario: Strongswan has established  multiple  IKE connections with
different peers.

Lets say we have three different connections. Out of those we plan to
delete two connections via initiating using davici terminate command.

Question: Is there way to know when we parse response from Davici that
which conenction is deleted? If yes what parameter of davici we get
information? i see reqcb() parse the davici reponse.

Thanks,
Rajeev