Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4714 → Rev 4715

/branches/network/uspace/srv/net/include/icmp_interface.h
40,11 → 40,19
#ifndef __NET_ICMP_INTERFACE_H__
#define __NET_ICMP_INTERFACE_H__
 
#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"
 
/** @name ICMP module interface
* This interface is used by other modules.
53,10 → 61,6
 
/** \todo
*/
int icmp_echo_msg( int icmp_phone, icmp_param_t identifier, icmp_param_t sequence_number, const void * data, size_t length );
 
/** \todo
*/
int icmp_destination_unreachable_msg( int icmp_phone, icmp_code_t code, icmp_param_t mtu, packet_t packet );
 
/** \todo
71,13 → 75,6
*/
int icmp_parameter_problem_msg( int icmp_phone, icmp_code_t code, icmp_param_t pointer, packet_t packet );
 
/** Connects to the ICMP module.
* @param service The ICMP module service. Ignored parameter.
* @returns The ICMP module phone on success.
* @returns 0 if called by the bundle module.
*/
int icmp_connect_module( services_t service );
 
/*@}*/
 
#endif