41,17 → 41,6 |
|
#include "../include/device.h" |
|
/** Sends the notification message to the registered network interface layer module. |
* Wrapper of the async_msg_3(). |
* The first message argument is always the device identifier. |
* @param device The device specific data. Input parameter. |
* @param message The message to be sent. Input parameter. |
* @param arg2 The second message argument. Input parameter. |
* @param arg3 The third message argument. Input parameter. |
*/ |
#define nil_message( device, message, arg2, arg3 ) \ |
if(( device )->nil_phone >= 0 ) async_msg_3(( device )->nil_phone, ( message ), ( device )->device_id, arg2, arg3 ) |
|
/** Network interface module skeleton global data. |
*/ |
typedef struct netif_globals netif_globals_t; |