This code is based on the upcoming version 15 of draft-boucadair-tcpm-rst-diagnostic-payload.
Right now, only the IPPROTO_TCP-level socket option with name TCP_RST_REASON_CODE is implemented.
It is planned to implement also the socket option with name `TCP_RST_REASON_CODE, but it is NOT planned to implement the socket option with name TCP_RST_REASON_DESC.
Details
Details
- Use {F145514417} and {F145514426} in combination with {F145514432}.
- Extend packetdrill to support these socket options and write tests.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Allow socket option processing on inps with the INP_DROPPED flag set only for getsockopt() of the IPPROTO_TCP-level socket option with name TCP_RST_REASON_CODE, as glebius suggested.
Comment Actions
Fix sender side stats counter and teach netstat how to print the stats counters added in this patch.
Comment Actions
Update names of structure and provide a way that setsocktion SO_LINGER is not required anymore.