freebsd-nq/sys/netinet/netdump
Conrad Meyer 8270d35eca Add ddb(4) 'netdump' command to netdump a core without preconfiguration
Add a 'X -s <server> -c <client> [-g <gateway>] -i <interface>' subroutine
to the generic debugnet code.  The imagined use is both netdump, shown here,
and NetGDB (vaporware).  It uses the ddb(4) lexer, with some new extensions,
to parse out IPv4 addresses.

'Netdump' uses the generic debugnet routine to load a configuration and
start a dump, without any netdump configuration prior to panic.

Loosely derived from work by:	John Reimer <john.reimer AT emc.com>
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D21460
2019-10-17 19:49:20 +00:00
..
netdump_client.c Add ddb(4) 'netdump' command to netdump a core without preconfiguration 2019-10-17 19:49:20 +00:00
netdump.h Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00