/proc/net/ipsec/stats/trap_count is a read-only file. It contains a hexadecimal number, the count of attempts to send PF_ACQUIRE messages. Only those successfully passed to userland are counted. Note that the userland may still have lost them on its own.
/proc/net/ipsec/stats/trap_count
ipsec(8), ipsec_pf_key(5), trap_sendcount(5), pluto(8)
Written for the Linux FreeS/WAN project <m[blue]https://www.freeswan.org/m[]> by Michael C. Richardson <mcr@freeswan.org>
Paul Wouters