Changeset 89c57b6 in mainline for uspace/lib/c/include/ipc/il.h
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/il.h
rcefb126 r89c57b6 27 27 */ 28 28 29 /** @addtogroup net_il29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 /** @file 34 34 * Internetwork layer modules messages. 35 * @see il_ interface.h35 * @see il_remote.h 36 36 * @see ip_interface.h 37 37 */ 38 38 39 #ifndef __NET_IL_MESSAGES_H__40 #define __NET_IL_MESSAGES_H__39 #ifndef LIBC_IL_MESSAGES_H_ 40 #define LIBC_IL_MESSAGES_H_ 41 41 42 #include <ipc/ ipc.h>42 #include <ipc/net.h> 43 43 44 /** Internet layer modules messages. 45 */ 44 /** Internet layer modules messages. */ 46 45 typedef enum { 47 /** New devicemessage.48 * @see ip_device_req()46 /** Device state changed message. 47 * @see il_device_state_msg() 49 48 */ 50 NET_IL_DEVICE = NET_IL_FIRST, 51 /** Device state changed message. 52 * @see il_device_state_msg() 53 */ 54 NET_IL_DEVICE_STATE, 49 NET_IL_DEVICE_STATE = NET_IL_FIRST, 50 55 51 /** Device MTU changed message. 56 * 52 * @see il_mtu_changed_msg() 57 53 */ 58 54 NET_IL_MTU_CHANGED, 59 /** Packet size message. 60 * @see il_packet_size_req() 55 56 /** Packet received message. 57 * @see il_received_msg() 61 58 */ 62 NET_IL_PACKET_SPACE, 63 /** Packet received message. 64 * @see il_received_msg() 65 */ 66 NET_IL_RECEIVED, 67 /** Packet send message. 68 * @see il_send_msg() 69 */ 70 NET_IL_SEND 59 NET_IL_RECEIVED 71 60 } il_messages; 72 61 73 /** @name Internetwork layer specific message parameters definitions 74 * 75 */ 62 /** @name Internetwork layer specific message parameters definitions */ 76 63 /*@{*/ 77 64 78 65 /** Return the protocol number message parameter. 79 * @param[in] call The message call structure. 66 * 67 * @param[in] call Message call structure. 80 68 * 81 69 */ 82 #define IL_GET_PROTO(call) ( int) IPC_GET_ARG1(*call)70 #define IL_GET_PROTO(call) ((int) IPC_GET_ARG1(call)) 83 71 84 72 /** Return the registering service message parameter. 85 * @param[in] call The message call structure. 73 * 74 * @param[in] call Message call structure. 86 75 * 87 76 */ 88 #define IL_GET_SERVICE(call) ( services_t) IPC_GET_ARG2(*call)77 #define IL_GET_SERVICE(call) ((services_t) IPC_GET_ARG2(call)) 89 78 90 79 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.