JannePeltonen
JannePeltonen
This seems to be heavily based on the existing odp_ipsec performance test application, which is (c) Linaro. To avoid duplication of code, maybe there should be just one test application...
v2: Clarified when L4 offset does not need to be set, as proposed by @psavol .
It seems to me that L4 type should be required too for outbound transport mode, at least for IPv6. Having just L4 offset readily available does not help the implementation...
I still wonder where you would like the L4 offset to point to in IPv6 transport mode when the packet has a destination options extension header. To the destination option...
> Based on RFC https://datatracker.ietf.org/doc/html/rfc3776, Mobility header should be part of ESP payload and Destination options outside ESP payload which is mode #2 The destination options header that carries the...
v3: - Small API tweaks (L4 offset not required for non-UDP-encapsulated inbound packets) - Included validation and perf test program changes to comply with the changed API
v5: dropped L3 type requirement and the corresponding changes.
Yes, the exec approach would seem to require a separate fdserver executable somewhere (since ODP is a library, it cannot e.g. execve("/proc/self/exe", ...)). Yet another possibility might be to not...