Christian, I would recommend using the auto-generated C language binding (VAPI), instead of directly interacting with the on-wire format.
Cheers, Ole > On 17 Feb 2020, at 15:10, Christian Hopps <cho...@chopps.org> wrote: > > Hi vpp-dev, > > I'm working to get strongswan IKE working with VPP, I've found some code on > github that was doing this as PoC for vpp 18.10. The code is using vl_msg_* > calls, and handling various duties to manage this API connection. > > I also see there is this vapi code in the current VPP. Would it be > recommended to switch over to vapi instead of this lower level vl_msg* code? > > I was hoping the answer would be obvious from looking at the code, but I'm > uncertain since I see things in the strongswan code like handling thread > suspend, read timeout and thread exit conditions that I don't see in the > vapi.c code. > > Thanks, > Chris.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15445): https://lists.fd.io/g/vpp-dev/message/15445 Mute This Topic: https://lists.fd.io/mt/71349657/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-