IPsec: refactor out some code in OVS_MONITOR_IPSEC_START macro
authorAnsis Atteka <aatteka@ovn.org>
Thu, 21 Jul 2016 11:49:40 +0000 (04:49 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Thu, 21 Jul 2016 11:49:40 +0000 (04:49 -0700)
commitca3574d552b2011859f9d72dd3f08353603b8213
tree40171c2c8c2233ab691e92330542c422472aa0c0
parent0ee007414206ff0a606a41ccd87922d5afa2139e
IPsec: refactor out some code in OVS_MONITOR_IPSEC_START macro

This OVS_MONITOR_IPSEC_START macro will be helpful in the next
patch where it will be used also from tests/tunnel.at file to test
that skb marking happens correctly.  Otherwise, without ovs-monitor-ipsec
running the ovs-vswitchd would refuse to configure ipsec_XXX tunnels.

Signed-off-by: Ansis Atteka <aatteka@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
tests/ofproto-macros.at
tests/ovs-monitor-ipsec.at