Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4755 → Rev 4756

/branches/network/uspace/srv/net/include/icmp_client.h
41,11 → 41,11
#include "../structures/packet/packet.h"
 
/** Processes the received packet prefixed with an ICMP header.
* @param packet The received packet. Input parameter.
* @param type The ICMP header type. Output parameter.
* @param code The ICMP header code. Output parameter.
* @param pointer The ICMP header pointer. Output parameter.
* @param mtu The ICMP header MTU. Output parameter.
* @param[in] packet The received packet.
* @param[out] type The ICMP header type.
* @param[out] code The ICMP header code.
* @param[out] pointer The ICMP header pointer.
* @param[out] mtu The ICMP header MTU.
* @returns The ICMP header length.
* @returns Zero (0) if the packet contains no data.
*/
52,7 → 52,7
int icmp_client_process_packet( packet_t packet, icmp_type_t * type, icmp_code_t * code, icmp_param_t * pointer, icmp_param_t * mtu );
 
/** Returns the ICMP header length.
* @param packet The packet. Input parameter.
* @param[in] packet The packet.
* @returns The ICMP header length in bytes.
*/
size_t icmp_client_header_length( packet_t packet );