Rev 4243 | Rev 4350 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4243 | Rev 4261 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | 39 | ||
40 | #include <rwlock.h> |
40 | #include <rwlock.h> |
41 | 41 | ||
42 | #include "../include/device.h" |
42 | #include "../include/device.h" |
43 | 43 | ||
44 | /** Sends the notification message to the registered network interface layer module. |
- | |
45 | * Wrapper of the async_msg_3(). |
- | |
46 | * The first message argument is always the device identifier. |
- | |
47 | * @param device The device specific data. Input parameter. |
- | |
48 | * @param message The message to be sent. Input parameter. |
- | |
49 | * @param arg2 The second message argument. Input parameter. |
- | |
50 | * @param arg3 The third message argument. Input parameter. |
- | |
51 | */ |
- | |
52 | #define nil_message( device, message, arg2, arg3 ) \ |
- | |
53 | if(( device )->nil_phone >= 0 ) async_msg_3(( device )->nil_phone, ( message ), ( device )->device_id, arg2, arg3 ) |
- | |
54 | - | ||
55 | /** Network interface module skeleton global data. |
44 | /** Network interface module skeleton global data. |
56 | */ |
45 | */ |
57 | typedef struct netif_globals netif_globals_t; |
46 | typedef struct netif_globals netif_globals_t; |
58 | 47 | ||
59 | /** Type definition of the device specific data. |
48 | /** Type definition of the device specific data. |