<div dir="ltr">Dear all,<div><br></div><div>I wanted to make sure my understanding of strongswan android apk code flow is correct and so created this seperate request.</div><div><br></div><div><div>Following is my detailed anlaysis of code flow sequence.</div><div>i) Charon Vpn service calls prepare to make sure only one connection exists.</div><div>ii) CharonVpnservice.java calls 'initateCharon' to prepare charon daemon at the native layer</div><div>iii) CharonVpnservice.java calls 'initiate' to trigger IKE connection establishment with the gateway with the required configuration.</div><div>iv) Once IKE tunnel setup and child SA is created i.e in the function 'child_updown' in file android_service.c , We call 'setup_tun_device'. This function prepares a builder and calls the java side establish, to create the interface, configure teh IP address for tun, and set the routes to the tun interface.</div><div><br></div><div>Kindly confirm if this sequence of opreations is correct.</div><div><br></div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font color="#666666">Regards,</font></div>
<div><font color="#666666">RaviKanth</font></div><div><br></div></div></div>
</div></div></div>