37,10 → 37,17 |
#ifndef __NET_NETIF_H__ |
#define __NET_NETIF_H__ |
|
#include <async.h> |
#include <rwlock.h> |
|
#include <ipc/ipc.h> |
|
#include "../err.h" |
|
#include "../include/device.h" |
|
#include "../structures/packet/packet.h" |
|
/** Network interface module skeleton global data. |
*/ |
typedef struct netif_globals netif_globals_t; |
83,7 → 90,7 |
struct netif_globals{ |
/** Networking module phone. |
*/ |
int networking_phone; |
int net_phone; |
/** Device map. |
*/ |
device_map_t device_map; |
115,6 → 122,10 |
*/ |
packet_t netif_packet_get_1( size_t content ); |
|
int netif_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ); |
int netif_init_module( async_client_conn_t client_connection ); |
int netif_run_module( void ); |
|
#endif |
|
/** @} |