diff options
Diffstat (limited to 'kernel/inc')
-rw-r--r-- | kernel/inc/net.h | 1 | ||||
-rw-r--r-- | kernel/inc/rtl8139.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/kernel/inc/net.h b/kernel/inc/net.h index ddc2405..9a305a1 100644 --- a/kernel/inc/net.h +++ b/kernel/inc/net.h @@ -163,6 +163,7 @@ void net_send(struct socket *socket, void *data, u32 len); int net_receive(struct socket *socket, void *buf, u32 len); int net_data_available(struct socket *socket); +int net_installed(void); void net_install(void); #endif diff --git a/kernel/inc/rtl8139.h b/kernel/inc/rtl8139.h index faeb3f6..bbb904e 100644 --- a/kernel/inc/rtl8139.h +++ b/kernel/inc/rtl8139.h @@ -29,6 +29,7 @@ #define RTL_PORT_CONFIG 0x52 int rtl8139_install(void); +int rtl8139_installed(void); void rtl8139_send_packet(void *data, u32 len); u8 *rtl8139_get_mac(void); |