Rev 4707 | Rev 4721 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4707 | Rev 4720 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #define __NET_ICMP_CLIENT_H__ |
38 | #define __NET_ICMP_CLIENT_H__ |
39 | 39 | ||
40 | #include "icmp_codes.h" |
40 | #include "icmp_codes.h" |
41 | #include "../structures/packet/packet.h" |
41 | #include "../structures/packet/packet.h" |
42 | 42 | ||
- | 43 | /** Processes the received packet prefixed with an ICMP header. |
|
- | 44 | * @param packet The received packet. Input parameter. |
|
- | 45 | * @param type The ICMP header type. Output parameter. |
|
- | 46 | * @param code The ICMP header code. Output parameter. |
|
- | 47 | * @param pointer The ICMP header pointer. Output parameter. |
|
- | 48 | * @param mtu The ICMP header MTU. Output parameter. |
|
43 | /** \todo |
49 | * @returns The ICMP header length. |
- | 50 | * @returns ENOMEM if the packet contains no data. |
|
44 | */ |
51 | */ |
45 | int icmp_client_process_packet( packet_t packet, icmp_type_t * type, icmp_code_t * code, icmp_param_t * pointer, icmp_param_t * mtu ); |
52 | int icmp_client_process_packet( packet_t packet, icmp_type_t * type, icmp_code_t * code, icmp_param_t * pointer, icmp_param_t * mtu ); |
46 | 53 | ||
47 | /** Returns the ICMP header length. |
54 | /** Returns the ICMP header length. |
48 | * @param packet The packet. Input parameter. |
55 | * @param packet The packet. Input parameter. |