Changes in uspace/lib/c/include/ipc/socket.h [64d2b10:88e127ee] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/socket.h
r64d2b10 r88e127ee 38 38 #define LIBC_SOCKET_MESSAGES_H_ 39 39 40 #include <ipc/ipc.h> 40 41 #include <ipc/net.h> 41 42 … … 83 84 #define SOCKET_SET_SOCKET_ID(answer, value) \ 84 85 do { \ 85 sysarg_t argument = (sysarg_t) (value); \86 ipcarg_t argument = (ipcarg_t) (value); \ 86 87 IPC_SET_ARG1(answer, argument); \ 87 88 } while (0) … … 101 102 #define SOCKET_SET_READ_DATA_LENGTH(answer, value) \ 102 103 do { \ 103 sysarg_t argument = (sysarg_t) (value); \104 ipcarg_t argument = (ipcarg_t) (value); \ 104 105 IPC_SET_ARG1(answer, argument); \ 105 106 } while (0) … … 146 147 #define SOCKET_SET_DATA_FRAGMENT_SIZE(answer, value) \ 147 148 do { \ 148 sysarg_t argument = (sysarg_t) (value); \149 ipcarg_t argument = (ipcarg_t) (value); \ 149 150 IPC_SET_ARG2(answer, argument); \ 150 151 } while (0) … … 155 156 #define SOCKET_SET_ADDRESS_LENGTH(answer, value) \ 156 157 do { \ 157 sysarg_t argument = (sysarg_t) (value); \158 ipcarg_t argument = (ipcarg_t) (value); \ 158 159 IPC_SET_ARG3(answer, argument);\ 159 160 } while (0) … … 173 174 #define SOCKET_SET_HEADER_SIZE(answer, value) \ 174 175 do { \ 175 sysarg_t argument = (sysarg_t) (value); \176 ipcarg_t argument = (ipcarg_t) (value); \ 176 177 IPC_SET_ARG3(answer, argument); \ 177 178 } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.