Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4714 → Rev 4715

/branches/network/uspace/srv/net/il/icmp/icmp_remote.c
41,6 → 41,8
#include <ipc/ipc.h>
#include <ipc/services.h>
 
#include <sys/types.h>
 
#include "../../messages.h"
#include "../../modules.h"
 
50,11 → 52,6
 
#include "icmp_messages.h"
 
int icmp_echo_msg( int icmp_phone, icmp_param_t identifier, icmp_param_t sequence_number, const void * data, size_t length ){
// TODO ICMP echo
return ENOTSUP;
}
 
int icmp_destination_unreachable_msg( int icmp_phone, icmp_code_t code, icmp_param_t mtu, packet_t packet ){
async_msg_3( icmp_phone, NET_ICMP_DEST_UNREACH, ( ipcarg_t ) code, ( ipcarg_t ) packet_get_id( packet ), ( ipcarg_t ) mtu );
return EOK;
75,9 → 72,5
return EOK;
}
 
int icmp_connect_module( services_t service ){
return connect_to_service( SERVICE_ICMP );
}
 
/** @}
*/