Network interface module interface. More...
#include <ipc/ipc.h>
#include <ipc/services.h>
#include "../structures/measured_strings.h"
#include "../structures/packet/packet.h"
#include "../include/device.h"
Functions | |
int | netif_initialize (void) |
Initializes the specific module. | |
int | netif_probe_message (device_id_t device_id, int irq, uintptr_t io) |
Probes the existence of the device. | |
int | netif_send_message (device_id_t device_id, packet_t packet, services_t sender) |
Sends the packet queue. | |
int | netif_start_message (device_ref device) |
Starts the device. | |
int | netif_stop_message (device_ref device) |
Stops the device. | |
int | netif_get_addr_message (device_id_t device_id, measured_string_ref address) |
Returns the device local hardware address. | |
int | netif_specific_message (ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer, int *answer_count) |
Processes the netif driver specific message. | |
int | netif_get_device_stats (device_id_t device_id, device_stats_ref stats) |
Returns the device usage statistics. |
Network interface module interface.
The interface has to be implemented by each network interface module. The interface is used by the network interface module skeleton.