ddb: optionally print inp when printing tcpcb

Add /i option to the ddb commands show tcpcb and show all tcpcbs,
which enables the printing of the t_inpcb.

Reviewed by:		markj
MFC after:		3 days
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D53497
This commit is contained in:
Michael Tuexen
2025-10-31 14:05:02 -04:00
parent 3adaacad11
commit 9aa5a79e2a
4 changed files with 27 additions and 11 deletions
+3
View File
@@ -730,6 +730,9 @@ int in_pcbquery_txrlevel(struct inpcb *, uint32_t *);
void in_pcboutput_txrtlmt(struct inpcb *, struct ifnet *, struct mbuf *);
void in_pcboutput_eagain(struct inpcb *);
#endif
#ifdef DDB
void db_print_inpcb(struct inpcb *, const char *, int);
#endif
#endif /* _KERNEL */
#endif /* !_NETINET_IN_PCB_H_ */