Rev 4350 | Rev 4707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4350 | Rev 4704 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | /** @addtogroup net_nil |
29 | /** @addtogroup net_nil |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | 32 | ||
33 | /** @file |
33 | /** @file |
34 | * Network interface layer interface. |
34 | * Network interface layer module interface. |
35 | * The same interface is used for standalone remote device modules as well as for bundle device modules. |
35 | * The same interface is used for standalone remote device modules as well as for bundle device modules. |
36 | * The standalone remote device modules have to be compiled with the nil_remote.c source file. |
36 | * The standalone remote device modules have to be compiled with the nil_remote.c source file. |
37 | * The bundle device modules with the appropriate network interface layer source file (eth.c etc.). |
37 | * The bundle device modules with the appropriate network interface layer source file (eth.c etc.). |
38 | * The upper layers cannot be bundled with the network interface layer. |
38 | * The upper layers cannot be bundled with the network interface layer. |
39 | */ |
39 | */ |
Line 53... | Line 53... | ||
53 | 53 | ||
54 | #include "../nil/nil_messages.h" |
54 | #include "../nil/nil_messages.h" |
55 | 55 | ||
56 | #include "device.h" |
56 | #include "device.h" |
57 | 57 | ||
- | 58 | /** @name Network interface layer module interface |
|
- | 59 | * This interface is used by other modules. |
|
- | 60 | */ |
|
- | 61 | /*@{*/ |
|
- | 62 | ||
58 | /** Returns the device local hardware address. |
63 | /** Returns the device local hardware address. |
59 | * @param nil_phone The network interface layer phone. Input parameter. |
64 | * @param nil_phone The network interface layer phone. Input parameter. |
60 | * @param device_id The device identifier. Input parameter. |
65 | * @param device_id The device identifier. Input parameter. |
61 | * @param address The device local hardware address. Output parameter. |
66 | * @param address The device local hardware address. Output parameter. |
62 | * @param data The address data. Output parameter. |
67 | * @param data The address data. Output parameter. |
Line 138... | Line 143... | ||
138 | * @returns EOK on success. |
143 | * @returns EOK on success. |
139 | * @returns Other error codes as defined for each specific module received function. |
144 | * @returns Other error codes as defined for each specific module received function. |
140 | */ |
145 | */ |
141 | int nil_received_msg( int nil_phone, device_id_t device_id, packet_t packet, services_t target ); |
146 | int nil_received_msg( int nil_phone, device_id_t device_id, packet_t packet, services_t target ); |
142 | 147 | ||
- | 148 | /*@}*/ |
|
- | 149 | ||
143 | #endif |
150 | #endif |
144 | 151 | ||
145 | /** @} |
152 | /** @} |
146 | */ |
153 | */ |