> -----Original Message----- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Alok > Makhariya > Sent: Tuesday, March 21, 2017 3:02 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] Query regarding ipsec API > > Hi > > One query regarding API odp_ipsec_out_enq / odp_ipsec_out. > What is the expectation of data pointer after calling above API ? Should > it point to L3 pointer with 0 L3 offset or L2 pointer/any pointer with > proper L3 offset value?
Both are possible by the spec. L3 offset must be always set to a correct value, but the value (offset from odp_packet_data()) can be 0 or something else. -Petri