Rev 4699 | Rev 4707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4699 | Rev 4704 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | /** @addtogroup net_il |
29 | /** @addtogroup net_il |
| 30 | * @{ |
30 | * @{ |
| 31 | */ |
31 | */ |
| 32 | 32 | ||
| 33 | /** @file |
33 | /** @file |
| 34 | * Internetwork layer interface for the underlying network interface layer. |
34 | * Internetwork layer module interface for the underlying network interface layer. |
| 35 | * This interface is always called by the standalone remote modules. |
35 | * This interface is always called by the standalone remote modules. |
| 36 | */ |
36 | */ |
| 37 | 37 | ||
| 38 | #ifndef __NET_IL_INTERFACE_H__ |
38 | #ifndef __NET_IL_INTERFACE_H__ |
| 39 | #define __NET_IL_INTERFACE_H__ |
39 | #define __NET_IL_INTERFACE_H__ |
| Line 49... | Line 49... | ||
| 49 | #include "../structures/packet/packet.h" |
49 | #include "../structures/packet/packet.h" |
| 50 | #include "../structures/packet/packet_client.h" |
50 | #include "../structures/packet/packet_client.h" |
| 51 | 51 | ||
| 52 | #include "../il/il_messages.h" |
52 | #include "../il/il_messages.h" |
| 53 | 53 | ||
| - | 54 | /** @name Internetwork layer module interface |
|
| - | 55 | * This interface is used by other modules. |
|
| - | 56 | */ |
|
| - | 57 | /*@{*/ |
|
| - | 58 | ||
| 54 | /** Notifies the internetwork layer modules about the device state change. |
59 | /** Notifies the internetwork layer modules about the device state change. |
| 55 | * @param il_phone The internetwork layer module phone used for (semi)remote calls. Input parameter. |
60 | * @param il_phone The internetwork layer module phone used for (semi)remote calls. Input parameter. |
| 56 | * @param device_id The device identifier. Input parameter. |
61 | * @param device_id The device identifier. Input parameter. |
| 57 | * @param state The new device state. Input parameter. |
62 | * @param state The new device state. Input parameter. |
| 58 | * @param target The target internetwork module service to be delivered to. Input parameter. |
63 | * @param target The target internetwork module service to be delivered to. Input parameter. |
| Line 82... | Line 87... | ||
| 82 | */ |
87 | */ |
| 83 | inline static int il_mtu_changed_msg( int il_phone, device_id_t device_id, int mtu, services_t target ){ |
88 | inline static int il_mtu_changed_msg( int il_phone, device_id_t device_id, int mtu, services_t target ){ |
| 84 | return generic_device_state_msg( il_phone, NET_IL_MTU_CHANGED, device_id, mtu, target ); |
89 | return generic_device_state_msg( il_phone, NET_IL_MTU_CHANGED, device_id, mtu, target ); |
| 85 | } |
90 | } |
| 86 | 91 | ||
| - | 92 | /*@}*/ |
|
| - | 93 | ||
| 87 | #endif |
94 | #endif |
| 88 | 95 | ||
| 89 | /** @} |
96 | /** @} |
| 90 | */ |
97 | */ |