examples/ipsec-secgw: use function to access mbuf private
authorDan Gora <dg@adax.com>
Mon, 18 Jun 2018 23:36:18 +0000 (16:36 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 21:13:52 +0000 (23:13 +0200)
commitb1d295e69e75eefaf5aaa8cef0808e36f5b0817e
treee30a63fc6528636d81d9591a87944f2b4c28790c
parentf5f45caeb049ea52b6e8fd2abe0a46c204dea533
examples/ipsec-secgw: use function to access mbuf private

Update get_priv() to use rte_mbuf_to_priv() to access the private
area in the mbuf.

In inbound_sa_check(), use the application's get_priv() function to
access the private area in the mbuf.

Signed-off-by: Dan Gora <dg@adax.com>
examples/ipsec-secgw/ipsec.h
examples/ipsec-secgw/sa.c