kernel-pfkey: Report packet counts of IPsec SAs
authorTobias Brunner <tobias@strongswan.org>
Fri, 18 Jul 2014 16:19:46 +0000 (18:19 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 9 Sep 2014 08:56:15 +0000 (10:56 +0200)
commit25fcbab6789c9c8839d898a6527e0017dfac4322
treed08b35843d19a775116832a62fea597f0fa93d36
parent8a59fa6467b0e600cfce1319f8dcd474aec84c86
kernel-pfkey: Report packet counts of IPsec SAs

Seems that packet counts can be retrieved after all. At least the Linux
and FreeBSD kernels treat the number of allocations as number of packets.
We actually installed packet limits in that field already.
src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c