Rev 4720 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4720 | Rev 4721 | ||
|---|---|---|---|
| Line 45... | Line 45... | ||
| 45 | * @param type The ICMP header type. Output parameter. |
45 | * @param type The ICMP header type. Output parameter. |
| 46 | * @param code The ICMP header code. Output parameter. |
46 | * @param code The ICMP header code. Output parameter. |
| 47 | * @param pointer The ICMP header pointer. Output parameter. |
47 | * @param pointer The ICMP header pointer. Output parameter. |
| 48 | * @param mtu The ICMP header MTU. Output parameter. |
48 | * @param mtu The ICMP header MTU. Output parameter. |
| 49 | * @returns The ICMP header length. |
49 | * @returns The ICMP header length. |
| 50 | * @returns ENOMEM if the packet contains no data. |
50 | * @returns Zero (0) if the packet contains no data. |
| 51 | */ |
51 | */ |
| 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 ); |
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 ); |
| 53 | 53 | ||
| 54 | /** Returns the ICMP header length. |
54 | /** Returns the ICMP header length. |
| 55 | * @param packet The packet. Input parameter. |
55 | * @param packet The packet. Input parameter. |
| 56 | * @returns The ICMP header length in bytes. |
56 | * @returns The ICMP header length in bytes. |
| 57 | * @returns ENOMEM if there is no ICMP header. |
- | |
| 58 | */ |
57 | */ |
| 59 | int icmp_client_header_length( packet_t packet ); |
58 | size_t icmp_client_header_length( packet_t packet ); |
| 60 | 59 | ||
| 61 | #endif |
60 | #endif |
| 62 | 61 | ||
| 63 | /** @} |
62 | /** @} |
| 64 | */ |
63 | */ |