Changes in uspace/lib/c/include/ipc/packet.h [d52fbaf:64d2b10] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/packet.h
rd52fbaf r64d2b10 38 38 #define LIBC_PACKET_MESSAGES_ 39 39 40 #include <ipc/ipc.h>41 40 #include <ipc/net.h> 42 41 … … 70 69 } packet_messages; 71 70 72 /** Return sthe protocol service message parameter. */73 #define ARP_GET_PROTO(call) (services_t) IPC_GET_ARG2(*call)71 /** Return the protocol service message parameter. */ 72 #define ARP_GET_PROTO(call) ((services_t) IPC_GET_ARG2(call)) 74 73 75 /** Return sthe packet identifier message parameter. */76 #define IPC_GET_ID(call) (packet_id_t) IPC_GET_ARG1(*call)74 /** Return the packet identifier message parameter. */ 75 #define IPC_GET_ID(call) ((packet_id_t) IPC_GET_ARG1(call)) 77 76 78 /** Return sthe maximal content length message parameter. */79 #define IPC_GET_CONTENT(call) (size_t) IPC_GET_ARG1(*call)77 /** Return the maximal content length message parameter. */ 78 #define IPC_GET_CONTENT(call) ((size_t) IPC_GET_ARG1(call)) 80 79 81 /** Return sthe maximal address length message parameter. */82 #define IPC_GET_ADDR_LEN(call) (size_t) IPC_GET_ARG2(*call)80 /** Return the maximal address length message parameter. */ 81 #define IPC_GET_ADDR_LEN(call) ((size_t) IPC_GET_ARG2(call)) 83 82 84 /** Return sthe maximal prefix length message parameter. */85 #define IPC_GET_PREFIX(call) (size_t) IPC_GET_ARG3(*call)83 /** Return the maximal prefix length message parameter. */ 84 #define IPC_GET_PREFIX(call) ((size_t) IPC_GET_ARG3(call)) 86 85 87 /** Return sthe maximal suffix length message parameter. */88 #define IPC_GET_SUFFIX(call) (size_t) IPC_GET_ARG4(*call)86 /** Return the maximal suffix length message parameter. */ 87 #define IPC_GET_SUFFIX(call) ((size_t) IPC_GET_ARG4(call)) 89 88 90 89 #endif
Note:
See TracChangeset
for help on using the changeset viewer.