Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4719 → Rev 4720

/branches/network/uspace/srv/net/tl/icmp/icmp_messages.h
85,17 → 85,17
/** Returns the ICMP code message parameter.
* @param call The message call structure. Input parameter.
*/
#define ICMP_GET_CODE( call ) ( icmp_param_t ) IPC_GET_ARG1( call )
#define ICMP_GET_CODE( call ) ( icmp_code_t ) IPC_GET_ARG1( * call )
 
/** Returns the ICMP link MTU message parameter.
* @param call The message call structure. Input parameter.
*/
#define ICMP_GET_MTU( call ) ( icmp_param_t ) IPC_GET_ARG3( call )
#define ICMP_GET_MTU( call ) ( icmp_param_t ) IPC_GET_ARG3( * call )
 
/** Returns the pointer message parameter.
* @param call The message call structure. Input parameter.
*/
#define ICMP_GET_POINTER( call ) ( icmp_param_t ) IPC_GET_ARG3( call )
#define ICMP_GET_POINTER( call ) ( icmp_param_t ) IPC_GET_ARG3( * call )
 
/** Returns the size message parameter.
* @param call The message call structure. Input parameter.
105,7 → 105,7
/** Returns the timeout message parameter.
* @param call The message call structure. Input parameter.
*/
#define ICMP_GET_TIMEOUT( call ) ((( suseconds_t ) IPC_GET_ARG2( call )) * 1000 )
#define ICMP_GET_TIMEOUT( call ) (( suseconds_t ) IPC_GET_ARG2( call ))
 
/** Returns the time to live message parameter.
* @param call The message call structure. Input parameter.