ESPSTAT
ESPSTAT(ESP_STAT_INPUT, "input packets processed");
ESPSTAT(ESP_STAT_OUTPUT, "output packets processed");
ESPSTAT(ESP_STAT_HDROPS, "headers too short");
ESPSTAT(ESP_STAT_NOPF, "headers for unsupported address family");
ESPSTAT(ESP_STAT_NOTDB, "packets with no SA");
ESPSTAT(ESP_STAT_BADKCR,
ESPSTAT(ESP_STAT_QFULL, "packets dropped due to queue full");
ESPSTAT(ESP_STAT_NOXFORM, "packets with no xform");
ESPSTAT(ESP_STAT_BADILEN, "packets with bad ilen");
ESPSTAT(ESP_STAT_BADENC, "packets with bad encryption");
ESPSTAT(ESP_STAT_BADAUTH, "packets with bad authentication");
ESPSTAT(ESP_STAT_WRAP, "packets dropped for replay counter wrap");
ESPSTAT(ESP_STAT_REPLAY, "packets dropped for possible replay");
ESPSTAT(ESP_STAT_INVALID, "packets with an invalid SA");
ESPSTAT(ESP_STAT_TOOBIG, "packets too big");
ESPSTAT(ESP_STAT_PDROPS, "packets blocked due to policy");
ESPSTAT(ESP_STAT_CRYPTO, "failed crypto requests");
ESPSTAT(ESP_STAT_TUNNEL, "tunnel sanity check failures");
ESPSTAT(ESP_STAT_IBYTES, "bytes received");
ESPSTAT(ESP_STAT_OBYTES, "bytes transmitted");