diff options
Diffstat (limited to 'kernel/inc/net.h')
-rw-r--r-- | kernel/inc/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/net.h b/kernel/inc/net.h index 0c36691..ddc2405 100644 --- a/kernel/inc/net.h +++ b/kernel/inc/net.h @@ -157,7 +157,7 @@ struct arp_table_entry { void ethernet_handle_packet(struct ethernet_packet *packet, int len); struct socket *net_open(enum socket_type type); -void net_close(struct socket *socket); +int net_close(struct socket *socket); int net_connect(struct socket *socket, u32 ip_addr, u16 dst_port); void net_send(struct socket *socket, void *data, u32 len); int net_receive(struct socket *socket, void *buf, u32 len); |