diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2007-02-17 21:02:38 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2007-02-17 21:02:38 +0000 |
commit | 497057eeead9fac92696b02719662ec0d43ef78c (patch) | |
tree | f5fce63e0f73ccb2cca300ae1e4aaaa40142cd66 /sys/netinet/in_pcb.h | |
parent | ba000fb2c1b59195f196092f6682ef063442a7a8 (diff) | |
download | src-497057eeead9fac92696b02719662ec0d43ef78c.tar.gz src-497057eeead9fac92696b02719662ec0d43ef78c.zip |
Add "show inpcb", "show tcpcb" DDB commands, which should come in handy
for debugging sblock and other network panics.
Notes
Notes:
svn path=/head/; revision=166807
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index cb2cbfd82c55..be0bfcfd2d33 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -370,6 +370,12 @@ struct sockaddr * void in_pcbsosetlabel(struct socket *so); void in_pcbremlists(struct inpcb *inp); void ipport_tick(void *xtp); + +/* + * Debugging routines compiled in when DDB is present. + */ +void db_print_inpcb(struct inpcb *inp, const char *name, int indent); + #endif /* _KERNEL */ #endif /* !_NETINET_IN_PCB_H_ */ |