Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/net.h

    r609243f4 r64d2b10  
    277277 *
    278278 */
    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))
    280280
    281281/** Return the packet identifier message argument.
     
    298298 *
    299299 */
    300 #define IPC_GET_STATE(call)  ((nic_device_state_t) IPC_GET_ARG2(call))
    301 
    302 /** Return the device handle argument
    303  *
    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))
    308308
    309309/** Return the device driver service message argument.
     
    327327 */
    328328#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))
    336329
    337330/** Return the error service message argument.
     
    342335#define IPC_GET_ERROR(call)  ((services_t) IPC_GET_ARG4(call))
    343336
     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
    344344/** Set the device identifier in the message answer.
    345345 *
Note: See TracChangeset for help on using the changeset viewer.