Add a -b option to print the BBLog state for TCP sockets.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.bin/sockstat/main.c | ||
---|---|---|
1088 | It probably is overkill, but you could add a TCP_LOG_STATE_COUNT at the end of enum tcp_log_states and add a static assertion that the number hasn't changed. Again, probably overkill. | |
1529 | Why have this conditional? (I recognize it makes it consistent with the treatment of the surrounding options. I'm just curious in understanding why we chose this treatment.) |