trap_count(5) KLIPS statistic on number of ACQUIREs


cat /proc/net/ipsec/stats/trap_count


Note that trap_count is only supported on the classic KLIPS stack. It is not supported on any other stack and will be completely removed in future versions. A replacement command still needs to be designed


/proc/net/ipsec/stats/trap_count is a read-only file. It contains a hexadecimal number which records the number of attempts to send PF_ACQUIRE messages. Only those recorded by trap_sendcount were actually successfully passed to userland. Note that the userland may still have lost them on its own.




Written for the Linux FreeS/WAN project <m[blue][]> by Michael C. Richardson <[email protected]>