diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-28 23:51:15 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-28 23:51:15 -0600 |
commit | 4d185da010aea1d307c8ff7807ef3d4359083ed0 (patch) | |
tree | 0eef6621e8cadfb827e35cc0f426fdebb6096d10 /libhw/host_include | |
parent | 52d48b9ea39a990295fdaf53dea492637051bd10 (diff) |
wip host net timeout
Diffstat (limited to 'libhw/host_include')
-rw-r--r-- | libhw/host_include/libhw/host_net.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libhw/host_include/libhw/host_net.h b/libhw/host_include/libhw/host_net.h index 7a0dff4..1b1ba7a 100644 --- a/libhw/host_include/libhw/host_net.h +++ b/libhw/host_include/libhw/host_net.h @@ -15,13 +15,14 @@ struct _hostnet_tcp_conn { implements_net_stream_conn; int fd; + uint64_t read_deadline_ns; }; struct hostnet_tcp_listener { implements_net_stream_listener; int fd; - struct _hostnet_tcp_conn active_conn; + struct _hostnet_tcp_conn active_conn; }; void hostnet_tcp_listener_init(struct hostnet_tcp_listener *self, uint16_t port); @@ -30,6 +31,7 @@ struct hostnet_udp_conn { implements_net_packet_conn; int fd; + uint64_t read_deadline_ns; }; void hostnet_udp_conn_init(struct hostnet_udp_conn *self, uint16_t port); |