Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/netstat/if.c
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | static const char* pfsyncacts[] = { | ||||
| /* PFSYNC_ACT_UPD_REQ */ "uncompressed state request", | /* PFSYNC_ACT_UPD_REQ */ "uncompressed state request", | ||||
| /* PFSYNC_ACT_DEL */ "state delete", | /* PFSYNC_ACT_DEL */ "state delete", | ||||
| /* PFSYNC_ACT_DEL_C */ "compressed state delete", | /* PFSYNC_ACT_DEL_C */ "compressed state delete", | ||||
| /* PFSYNC_ACT_INS_F */ "fragment insert", | /* PFSYNC_ACT_INS_F */ "fragment insert", | ||||
| /* PFSYNC_ACT_DEL_F */ "fragment delete", | /* PFSYNC_ACT_DEL_F */ "fragment delete", | ||||
| /* PFSYNC_ACT_BUS */ "bulk update mark", | /* PFSYNC_ACT_BUS */ "bulk update mark", | ||||
| /* PFSYNC_ACT_TDB */ "TDB replay counter update", | /* PFSYNC_ACT_TDB */ "TDB replay counter update", | ||||
| /* PFSYNC_ACT_EOF */ "end of frame mark", | /* PFSYNC_ACT_EOF */ "end of frame mark", | ||||
| /* PFSYNC_ACT_INS_1400 */ "state insert", | /* PFSYNC_ACT_INS_1400 */ "14.0 state insert", | ||||
| /* PFSYNC_ACT_UPD_1400 */ "state update", | /* PFSYNC_ACT_UPD_1400 */ "14.0 state update", | ||||
| /* PFSYNC_ACT_INS_1500 */ "state insert", | |||||
| /* PFSYNC_ACT_UPD_1500 */ "state update", | |||||
| }; | }; | ||||
| static const char* pfsyncacts_name[] = { | static const char* pfsyncacts_name[] = { | ||||
| /* PFSYNC_ACT_CLR */ "clear-all-request", | /* PFSYNC_ACT_CLR */ "clear-all-request", | ||||
| /* PFSYNC_ACT_INS_1301 */ "state-insert-1301", | /* PFSYNC_ACT_INS_1301 */ "state-insert-1301", | ||||
| /* PFSYNC_ACT_INS_ACK */ "state-inserted-ack", | /* PFSYNC_ACT_INS_ACK */ "state-inserted-ack", | ||||
| /* PFSYNC_ACT_UPD_1301 */ "state-update-1301", | /* PFSYNC_ACT_UPD_1301 */ "state-update-1301", | ||||
| /* PFSYNC_ACT_UPD_C */ "compressed-state-update", | /* PFSYNC_ACT_UPD_C */ "compressed-state-update", | ||||
| /* PFSYNC_ACT_UPD_REQ */ "uncompressed-state-request", | /* PFSYNC_ACT_UPD_REQ */ "uncompressed-state-request", | ||||
| /* PFSYNC_ACT_DEL */ "state-delete", | /* PFSYNC_ACT_DEL */ "state-delete", | ||||
| /* PFSYNC_ACT_DEL_C */ "compressed-state-delete", | /* PFSYNC_ACT_DEL_C */ "compressed-state-delete", | ||||
| /* PFSYNC_ACT_INS_F */ "fragment-insert", | /* PFSYNC_ACT_INS_F */ "fragment-insert", | ||||
| /* PFSYNC_ACT_DEL_F */ "fragment-delete", | /* PFSYNC_ACT_DEL_F */ "fragment-delete", | ||||
| /* PFSYNC_ACT_BUS */ "bulk-update-mark", | /* PFSYNC_ACT_BUS */ "bulk-update-mark", | ||||
| /* PFSYNC_ACT_TDB */ "TDB-replay-counter-update", | /* PFSYNC_ACT_TDB */ "TDB-replay-counter-update", | ||||
| /* PFSYNC_ACT_EOF */ "end-of-frame-mark", | /* PFSYNC_ACT_EOF */ "end-of-frame-mark", | ||||
| /* PFSYNC_ACT_INS_1400 */ "state-insert", | /* PFSYNC_ACT_INS_1400 */ "state-insert-1400", | ||||
| /* PFSYNC_ACT_UPD_1400 */ "state-update", | /* PFSYNC_ACT_UPD_1400 */ "state-update-1400", | ||||
| /* PFSYNC_ACT_INS_1500 */ "state-insert", | |||||
| /* PFSYNC_ACT_UPD_1500 */ "state-update", | |||||
| }; | }; | ||||
| static void | static void | ||||
| pfsync_acts_stats(const char *list, const char *desc, uint64_t *a) | pfsync_acts_stats(const char *list, const char *desc, uint64_t *a) | ||||
| { | { | ||||
| int i; | int i; | ||||
| xo_open_list(list); | xo_open_list(list); | ||||
| ▲ Show 20 Lines • Show All 626 Lines • Show Last 20 Lines | |||||