summaryrefslogtreecommitdiff
path: root/sys/net/debugnet_int.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-10-17 20:25:15 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-10-17 20:25:15 +0000
commite9c6962599fa512b8dcbb4a131f9c945c8448a3e (patch)
tree0739424045f6de8cfe5e66665700ec9f829c4622 /sys/net/debugnet_int.h
parentb2807792f1d0a8e60b75bc0f8fa285b2815820c7 (diff)
downloadsrc-test2-e9c6962599fa512b8dcbb4a131f9c945c8448a3e.tar.gz
src-test2-e9c6962599fa512b8dcbb4a131f9c945c8448a3e.zip
Notes
Diffstat (limited to 'sys/net/debugnet_int.h')
-rw-r--r--sys/net/debugnet_int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/debugnet_int.h b/sys/net/debugnet_int.h
index 4d204c973dff..1e723c4d93f9 100644
--- a/sys/net/debugnet_int.h
+++ b/sys/net/debugnet_int.h
@@ -50,6 +50,7 @@ enum dnet_pcb_st {
DN_STATE_INIT = 1,
DN_STATE_HAVE_GW_MAC,
DN_STATE_GOT_HERALD_PORT,
+ DN_STATE_REMOTE_CLOSED,
};
struct debugnet_pcb {
@@ -67,8 +68,12 @@ struct debugnet_pcb {
/* Saved driver if_input to restore on close. */
void (*dp_drv_input)(struct ifnet *, struct mbuf *);
+ /* RX handler for bidirectional protocols. */
+ void (*dp_rx_handler)(struct debugnet_pcb *,
+ struct mbuf **);
+
enum dnet_pcb_st dp_state;
- uint16_t dp_client_ack_port;
+ uint16_t dp_client_port;
bool dp_event_started;
};