Use counters on ipsec tunnel interfaces 30/6730/4
authorMatthew Smith <mgsmith@netgate.com>
Tue, 16 May 2017 16:51:18 +0000 (11:51 -0500)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 17 May 2017 09:45:21 +0000 (09:45 +0000)
commit01034be6738b9bd072a3d3cfdeb1b900aac2b54f
tree24bba388d5bda1c44192b108897da1580de61e8d
parent0218ff9f833033f21f8a58880de44db632d3a3bb
Use counters on ipsec tunnel interfaces

Increment byte & packet counters when packets are sent or received on an
IPsec tunnel interface. Set counters to zero when the interface is deleted.

Change-Id: Ie9584aa82778875dd4d0c931005f7720b4d5c76d
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/ipsec/ipsec_if.c
src/vnet/ipsec/ipsec_if_in.c
src/vnet/ipsec/ipsec_if_out.c