Changes in uspace/lib/c/include/ipc/net.h [609243f4:64d2b10] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/net.h
r609243f4 r64d2b10 277 277 * 278 278 */ 279 #define IPC_GET_DEVICE(call) (( nic_device_id_t) IPC_GET_ARG1(call))279 #define IPC_GET_DEVICE(call) ((device_id_t) IPC_GET_ARG1(call)) 280 280 281 281 /** Return the packet identifier message argument. … … 298 298 * 299 299 */ 300 #define IPC_GET_STATE(call) (( nic_device_state_t) IPC_GET_ARG2(call))301 302 /** Return the device handle argument303 * 304 * @param[in] call Message call structure 305 * 306 */ 307 #define IPC_GET_ DEVICE_HANDLE(call) ((devman_handle_t) IPC_GET_ARG2(call))300 #define IPC_GET_STATE(call) ((device_state_t) IPC_GET_ARG2(call)) 301 302 /** Return the maximum transmission unit message argument. 303 * 304 * @param[in] call Message call structure. 305 * 306 */ 307 #define IPC_GET_MTU(call) ((size_t) IPC_GET_ARG2(call)) 308 308 309 309 /** Return the device driver service message argument. … … 327 327 */ 328 328 #define IPC_GET_SENDER(call) ((services_t) IPC_GET_ARG3(call)) 329 330 /** Return the maximum transmission unit message argument.331 *332 * @param[in] call Message call structure.333 *334 */335 #define IPC_GET_MTU(call) ((size_t) IPC_GET_ARG3(call))336 329 337 330 /** Return the error service message argument. … … 342 335 #define IPC_GET_ERROR(call) ((services_t) IPC_GET_ARG4(call)) 343 336 337 /** Return the phone message argument. 338 * 339 * @param[in] call Message call structure. 340 * 341 */ 342 #define IPC_GET_PHONE(call) ((int) IPC_GET_ARG5(call)) 343 344 344 /** Set the device identifier in the message answer. 345 345 *
Note:
See TracChangeset
for help on using the changeset viewer.