aboutsummaryrefslogtreecommitdiff
path: root/sys/net/debugnet_int.h
diff options
context:
space:
mode:
authorJohn Reimer <John_Reimer@Dell.com>2023-05-27 02:48:14 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2023-05-27 16:34:17 +0000
commitb498331b037f20bde90b46fc37678fbd421dcf09 (patch)
tree82423edf36e0de2f44d80633997625841fd06502 /sys/net/debugnet_int.h
parent1f571f8767e6e48e7175cdaa27ed11d0c473d4c2 (diff)
Diffstat (limited to 'sys/net/debugnet_int.h')
-rw-r--r--sys/net/debugnet_int.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/debugnet_int.h b/sys/net/debugnet_int.h
index 982000248374..b6c5f2cecff1 100644
--- a/sys/net/debugnet_int.h
+++ b/sys/net/debugnet_int.h
@@ -69,8 +69,10 @@ struct debugnet_pcb {
void (*dp_drv_input)(struct ifnet *, struct mbuf *);
/* RX handler for bidirectional protocols. */
- void (*dp_rx_handler)(struct debugnet_pcb *,
- struct mbuf **);
+ int (*dp_rx_handler)(struct mbuf *);
+
+ /* Cleanup signal for bidirectional protocols. */
+ void (*dp_finish_handler)(void);
enum dnet_pcb_st dp_state;
uint16_t dp_client_port;