/branches/network/uspace/srv/net/netif/netif.h |
---|
37,6 → 37,8 |
#ifndef __NET_NETIF_H__ |
#define __NET_NETIF_H__ |
#include <rwlock.h> |
#include "device.h" |
/** Sends the notification message to the registered network interface layer module. |
79,9 → 81,6 |
/** Receiving network interface layer phone. |
*/ |
int nil_phone; |
/** Usage statistics. |
*/ |
device_stats_t stats; |
/** Actual device state. |
*/ |
device_state_t state; |
99,6 → 98,9 |
/** Device map. |
*/ |
device_map_t device_map; |
/** Safety lock. |
*/ |
rwlock_t lock; |
}; |
/** Finds the device specific data. |
115,6 → 117,15 |
*/ |
void null_device_stats( device_stats_ref stats ); |
// prepared for future optimalizations |
/** \todo |
*/ |
void netif_pq_release( packet_id_t packet ); |
/** \todo |
*/ |
packet_t netif_packet_get_1( size_t content ); |
#endif |
/** @} |