icmp_interface.h File Reference

ICMP module interface. More...

#include <sys/types.h>
#include "device.h"
#include "../structures/measured_strings.h"
#include "../structures/packet/packet.h"
#include "inet.h"
#include "ip_codes.h"
#include "socket_codes.h"
#include "icmp_codes.h"
#include "icmp_common.h"
Include dependency graph for icmp_interface.h:

Functions

ICMP module interface

This interface is used by other modules.



int icmp_destination_unreachable_msg (int icmp_phone, icmp_code_t code, icmp_param_t mtu, packet_t packet)
 Sends the Destination Unreachable error notification packet.
int icmp_source_quench_msg (int icmp_phone, packet_t packet)
 Sends the Source Quench error notification packet.
int icmp_time_exceeded_msg (int icmp_phone, icmp_code_t code, packet_t packet)
 Sends the Time Exceeded error notification packet.
int icmp_parameter_problem_msg (int icmp_phone, icmp_code_t code, icmp_param_t pointer, packet_t packet)
 Sends the Parameter Problem error notification packet.

Detailed Description

ICMP module interface.

The same interface is used for standalone remote modules as well as for bundle modules. The standalone remote modules have to be compiled with the icmp_remote.c source file. The bundle modules with the icmp.c source file.


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