Changes in uspace/srv/net/structures/packet/packet_messages.h [aadf01e:21580dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/structures/packet/packet_messages.h
raadf01e r21580dd 69 69 /** Returns the protocol service message parameter. 70 70 */ 71 #define ARP_GET_PROTO( call) (services_t) IPC_GET_ARG2(*call)71 #define ARP_GET_PROTO( call ) ( services_t ) IPC_GET_ARG2( * call ) 72 72 73 73 /** Returns the packet identifier message parameter. 74 74 */ 75 #define IPC_GET_ID( call) (packet_id_t) IPC_GET_ARG1(*call)75 #define IPC_GET_ID( call ) ( packet_id_t ) IPC_GET_ARG1( * call ) 76 76 77 77 /** Returns the maximal content length message parameter. 78 78 */ 79 #define IPC_GET_CONTENT( call) (size_t) IPC_GET_ARG1(*call)79 #define IPC_GET_CONTENT( call ) ( size_t ) IPC_GET_ARG1( * call ) 80 80 81 81 /** Returns the maximal address length message parameter. 82 82 */ 83 #define IPC_GET_ADDR_LEN( call) (size_t) IPC_GET_ARG2(*call)83 #define IPC_GET_ADDR_LEN( call ) ( size_t ) IPC_GET_ARG2( * call ) 84 84 85 85 /** Returns the maximal prefix length message parameter. 86 86 */ 87 #define IPC_GET_PREFIX( call) (size_t) IPC_GET_ARG3(*call)87 #define IPC_GET_PREFIX( call ) ( size_t ) IPC_GET_ARG3( * call ) 88 88 89 89 /** Returns the maximal suffix length message parameter. 90 90 */ 91 #define IPC_GET_SUFFIX( call) (size_t) IPC_GET_ARG4(*call)91 #define IPC_GET_SUFFIX( call ) ( size_t ) IPC_GET_ARG4( * call ) 92 92 93 93 #endif
Note:
See TracChangeset
for help on using the changeset viewer.