icmp_messages.h File Reference

ICMP module messages. More...

#include <ipc/ipc.h>
#include <sys/types.h>
#include "../../include/icmp_codes.h"
#include "../../messages.h"
Include dependency graph for icmp_messages.h:
This graph shows which files directly or indirectly include this file:

Defines

ICMP specific message parameters definitions



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

Enumerations

enum  icmp_messages {
  NET_ICMP_ECHO = NET_ICMP_FIRST, NET_ICMP_DEST_UNREACH, NET_ICMP_SOURCE_QUENCH, NET_ICMP_TIME_EXCEEDED,
  NET_ICMP_PARAMETERPROB, NET_ICMP_INIT
}
 

ICMP module messages.

More...

Detailed Description

ICMP module messages.

See also:
icmp_interface.h

Generated on Thu Mar 11 20:46:19 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1