Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/netdump/netdump_client.c
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | netdump_dumper(void *priv __unused, void *virtual, | ||||
memmove(nd_buf + nd_conf.nd_buf_len, virtual, length); | memmove(nd_buf + nd_conf.nd_buf_len, virtual, length); | ||||
nd_conf.nd_buf_len += length; | nd_conf.nd_buf_len += length; | ||||
return (0); | return (0); | ||||
} | } | ||||
/* | /* | ||||
* Perform any initalization needed prior to transmitting the kernel core. | * Perform any initialization needed prior to transmitting the kernel core. | ||||
*/ | */ | ||||
static int | static int | ||||
netdump_start(struct dumperinfo *di) | netdump_start(struct dumperinfo *di) | ||||
{ | { | ||||
struct debugnet_conn_params dcp; | struct debugnet_conn_params dcp; | ||||
struct debugnet_pcb *pcb; | struct debugnet_pcb *pcb; | ||||
char buf[INET_ADDRSTRLEN]; | char buf[INET_ADDRSTRLEN]; | ||||
int error; | int error; | ||||
▲ Show 20 Lines • Show All 529 Lines • Show Last 20 Lines |