HomeFreeBSD

tcp_info: Add and export more FreeBSD-specific fields

Description

tcp_info: Add and export more FreeBSD-specific fields

This change adds struct tcp_info fields corresponding to the following
struct tcpcb ones:

  • snd_una
  • snd_max
  • rcv_numsacks
  • rcv_adv
  • dupacks

Note that while both tcp_fill_info() and fill_tcp_info_from_tcb() are
extended accordingly, no counterpart of rcv_numsacks is available in
the cxgbe(4) TOE PCB, though.

Sponsored by: NetApp, Inc. (originally)

(cherry picked from commit dc485b968ddeb070d23354f55164a8c336acf081)

Conflicts (due tue missing 945f9a7c):
sys/netinet/tcp.h

Details

Provenance
mariusAuthored on Aug 22 2023, 6:12 PM
Parents
rG03d636e4bf57: tcp: reserve tcp_info counters for AccECN
Branches
Unknown
Tags
Unknown