icmp.h File Reference

ICMP module messages. More...

#include <ipc/net.h>
#include <sys/types.h>
#include <sys/time.h>
#include <net/icmp_codes.h>

Go to the source code of this file.

ICMP specific message parameters definitions

#define ICMP_GET_CODE(call)   ((icmp_code_t) IPC_GET_ARG1(call))
 Return the ICMP code message parameter.
#define ICMP_GET_DONT_FRAGMENT(call)   ((int) IPC_GET_ARG5(call))
 Return the dont fragment message parameter.
#define ICMP_GET_MTU(call)   ((icmp_param_t) IPC_GET_ARG3(call))
 Return the ICMP link MTU message parameter.
#define ICMP_GET_POINTER(call)   ((icmp_param_t) IPC_GET_ARG3(call))
 Return the pointer message parameter.
#define ICMP_GET_SIZE(call)   ((size_t) IPC_GET_ARG1(call))
 Return the size message parameter.
#define ICMP_GET_TIMEOUT(call)   ((suseconds_t) IPC_GET_ARG2(call))
 Return the timeout message parameter.
#define ICMP_GET_TOS(call)   ((ip_tos_t) IPC_GET_ARG4(call))
 Return the type of service message parameter.
#define ICMP_GET_TTL(call)   ((ip_ttl_t) IPC_GET_ARG3(call))
 Return the time to live message parameter.

Enumerations

enum  icmp_messages_t {
  NET_ICMP_ECHO = NET_ICMP_FIRST, NET_ICMP_DEST_UNREACH, NET_ICMP_SOURCE_QUENCH, NET_ICMP_TIME_EXCEEDED,
  NET_ICMP_PARAMETERPROB
}
 ICMP module messages. More...


Detailed Description

ICMP module messages.

See also:
icmp_remote.h

Definition in file icmp.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7