Changeset a7a85d16 in mainline for uspace/lib/c/include/ipc/nil.h
- Timestamp:
- 2010-10-16T17:16:30Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 668f8cbf, e0e568ff, f14291b
- Parents:
- ef689ef0 (diff), c62ae1d6 (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/nil.h
ref689ef0 ra7a85d16 27 27 */ 28 28 29 /** @addtogroup net_nil29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 35 35 */ 36 36 37 #ifndef __NET_NIL_MESSAGES_H__38 #define __NET_NIL_MESSAGES_H__37 #ifndef LIBC_NIL_MESSAGES_H_ 38 #define LIBC_NIL_MESSAGES_H_ 39 39 40 40 #include <ipc/ipc.h> 41 41 #include <ipc/net.h> 42 42 43 /** Network interface layer module messages. 44 */ 43 /** Network interface layer module messages. */ 45 44 typedef enum { 46 45 /** New device or update MTU message. 47 * 46 * @see nil_device_req() 48 47 */ 49 48 NET_NIL_DEVICE = NET_NIL_FIRST, 50 49 /** New device state message. 51 * 50 * @see nil_device_state_msg() 52 51 */ 53 52 NET_NIL_DEVICE_STATE, 54 53 /** Received packet queue message. 55 * 54 * @see nil_received_msg() 56 55 */ 57 56 NET_NIL_RECEIVED, 58 57 /** Send packet queue message. 59 * 58 * @see nil_send_msg() 60 59 */ 61 60 NET_NIL_SEND, 62 61 /** Packet size message. 63 * 62 * @see nil_packet_size_req() 64 63 */ 65 64 NET_NIL_PACKET_SPACE, 66 65 /** Device local hardware address message. 67 * 66 * @see nil_get_addr() 68 67 */ 69 68 NET_NIL_ADDR, 70 69 /** Device broadcast hardware address message. 71 * 70 * @see nil_get_broadcast_addr() 72 71 */ 73 72 NET_NIL_BROADCAST_ADDR, 74 73 } nil_messages; 75 74 76 /** @name Network interface layer specific message parameters definitions 77 */ 75 /** @name Network interface layer specific message parameters definitions */ 78 76 /*@{*/ 79 77 80 /** Return the protocol service message parameter. 81 */ 78 /** Return the protocol service message parameter. */ 82 79 #define NIL_GET_PROTO(call) \ 83 ({services_t service = (services_t) IPC_GET_ARG2(*call); service;}) 80 ({ \ 81 services_t service = (services_t) IPC_GET_ARG2(*call); \ 82 service; \ 83 }) 84 84 85 85 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.