Add a /b option to show tcpcb and show all tcpcbs to print BBLog entries. Right now this supports the entries generated by the FreeBSD default TCP stack. It should help in debugging issues reported by syzkaller, for example panic: tcp_do_segment: sent too much: NUM>NUM.
The syntax for printing sent and received packets is similar to the one used by packetdrill, since the output of ddb will be used to create packetdrill scripts for debugging.
Details
Details
- Reviewers
markj glebius thj rrs rscheff cc peter.lei_ieee.org lstewart - Group Reviewers
transport - Commits
- rGa62c6b0de48a: ddb: add optional printing of BBLog entries
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This looks to do what is advertised in some simple tests. ddb is pretty fragile for me to use on the best of days so I'm happy enough