summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/hw/w5500.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-23 21:01:46 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-23 21:01:46 -0600
commit39a8ac10ccefcce4e47c3dd5493a6ebe7b0e8f9a (patch)
tree73c3013c8de9bd477ff3547652a6df2e2185d7a9 /cmd/sbc_harness/hw/w5500.h
parente7378b9f9b122e05baebce387fe9c3844c0736b6 (diff)
wip
Diffstat (limited to 'cmd/sbc_harness/hw/w5500.h')
-rw-r--r--cmd/sbc_harness/hw/w5500.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/cmd/sbc_harness/hw/w5500.h b/cmd/sbc_harness/hw/w5500.h
index cf28579..b50ff83 100644
--- a/cmd/sbc_harness/hw/w5500.h
+++ b/cmd/sbc_harness/hw/w5500.h
@@ -89,7 +89,13 @@ struct w5500_netcfg {
*/
void w5500_netcfg(struct w5500 *self, struct w5500_netcfg cfg);
-implements_net_stream_listener *w5500_listen(struct w5500 *self, uint8_t socknum,
- uint16_t port);
+implements_net_stream_listener *w5500_tcp_listen(struct w5500 *self, uint8_t socknum,
+ uint16_t port);
+
+/**
+ * TODO.
+ */
+implements_net_packet_conn *w5500_udp_conn(struct w5500 *self, uint8_t socknum,
+ uint16_t port);
#endif /* _HW_W5500_H_ */