Rev 4719 | Rev 4743 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4719 | Rev 4720 | ||
---|---|---|---|
Line 83... | Line 83... | ||
83 | /*@{*/ |
83 | /*@{*/ |
84 | 84 | ||
85 | /** Returns the ICMP code message parameter. |
85 | /** Returns the ICMP code message parameter. |
86 | * @param call The message call structure. Input parameter. |
86 | * @param call The message call structure. Input parameter. |
87 | */ |
87 | */ |
88 | #define ICMP_GET_CODE( call ) ( icmp_param_t ) IPC_GET_ARG1( call ) |
88 | #define ICMP_GET_CODE( call ) ( icmp_code_t ) IPC_GET_ARG1( * call ) |
89 | 89 | ||
90 | /** Returns the ICMP link MTU message parameter. |
90 | /** Returns the ICMP link MTU message parameter. |
91 | * @param call The message call structure. Input parameter. |
91 | * @param call The message call structure. Input parameter. |
92 | */ |
92 | */ |
93 | #define ICMP_GET_MTU( call ) ( icmp_param_t ) IPC_GET_ARG3( call ) |
93 | #define ICMP_GET_MTU( call ) ( icmp_param_t ) IPC_GET_ARG3( * call ) |
94 | 94 | ||
95 | /** Returns the pointer message parameter. |
95 | /** Returns the pointer message parameter. |
96 | * @param call The message call structure. Input parameter. |
96 | * @param call The message call structure. Input parameter. |
97 | */ |
97 | */ |
98 | #define ICMP_GET_POINTER( call ) ( icmp_param_t ) IPC_GET_ARG3( call ) |
98 | #define ICMP_GET_POINTER( call ) ( icmp_param_t ) IPC_GET_ARG3( * call ) |
99 | 99 | ||
100 | /** Returns the size message parameter. |
100 | /** Returns the size message parameter. |
101 | * @param call The message call structure. Input parameter. |
101 | * @param call The message call structure. Input parameter. |
102 | */ |
102 | */ |
103 | #define ICMP_GET_SIZE( call ) ( size_t ) IPC_GET_ARG1( call ) |
103 | #define ICMP_GET_SIZE( call ) ( size_t ) IPC_GET_ARG1( call ) |
104 | 104 | ||
105 | /** Returns the timeout message parameter. |
105 | /** Returns the timeout message parameter. |
106 | * @param call The message call structure. Input parameter. |
106 | * @param call The message call structure. Input parameter. |
107 | */ |
107 | */ |
108 | #define ICMP_GET_TIMEOUT( call ) ((( suseconds_t ) IPC_GET_ARG2( call )) * 1000 ) |
108 | #define ICMP_GET_TIMEOUT( call ) (( suseconds_t ) IPC_GET_ARG2( call )) |
109 | 109 | ||
110 | /** Returns the time to live message parameter. |
110 | /** Returns the time to live message parameter. |
111 | * @param call The message call structure. Input parameter. |
111 | * @param call The message call structure. Input parameter. |
112 | */ |
112 | */ |
113 | #define ICMP_GET_TTL( call ) ( ip_ttl_t ) IPC_GET_ARG3( call ) |
113 | #define ICMP_GET_TTL( call ) ( ip_ttl_t ) IPC_GET_ARG3( call ) |