ICMP client interface implementation. More...
#include <errno.h>
#include <sys/types.h>
#include "../../include/icmp_codes.h"
#include "../../include/icmp_client.h"
#include "../../structures/packet/packet.h"
#include "../../structures/packet/packet_client.h"
#include "icmp_header.h"
Functions | |
int | icmp_client_process_packet (packet_t packet, icmp_type_t *type, icmp_code_t *code, icmp_param_t *pointer, icmp_param_t *mtu) |
Processes the received packet prefixed with an ICMP header. | |
size_t | icmp_client_header_length (packet_t packet) |
Returns the ICMP header length. |
ICMP client interface implementation.