PcapPlusPlus  21.05
IcmpLayer.h File Reference
#include "Layer.h"
#include "IPv4Layer.h"
#include <sys/time.h>
#include <vector>

Go to the source code of this file.

Classes

struct  pcpp::icmphdr
 
struct  pcpp::icmp_echo_hdr
 
struct  pcpp::icmp_echo_request
 
struct  pcpp::icmp_timestamp_request
 
struct  pcpp::icmp_destination_unreachable
 
struct  pcpp::icmp_time_exceeded
 
struct  pcpp::icmp_param_problem
 
struct  pcpp::icmp_redirect
 
struct  pcpp::icmp_router_address_structure
 
struct  pcpp::icmp_router_advertisement_hdr
 
struct  pcpp::icmp_router_advertisement
 
struct  pcpp::icmp_address_mask_request
 
struct  pcpp::icmp_info_request
 
class  pcpp::IcmpLayer
 

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Typedefs

typedef icmp_echo_request pcpp::icmp_echo_reply
 
typedef icmp_timestamp_request pcpp::icmp_timestamp_reply
 
typedef icmp_time_exceeded pcpp::icmp_source_quench
 
typedef icmphdr pcpp::icmp_router_solicitation
 
typedef icmp_address_mask_request pcpp::icmp_address_mask_reply
 
typedef icmp_info_request pcpp::icmp_info_reply
 

Enumerations

enum  pcpp::IcmpMessageType {
  pcpp::ICMP_ECHO_REPLY = 0, pcpp::ICMP_DEST_UNREACHABLE = 3, pcpp::ICMP_SOURCE_QUENCH = 4, pcpp::ICMP_REDIRECT = 5,
  pcpp::ICMP_ECHO_REQUEST = 8, pcpp::ICMP_ROUTER_ADV = 9, pcpp::ICMP_ROUTER_SOL = 10, pcpp::ICMP_TIME_EXCEEDED = 11,
  pcpp::ICMP_PARAM_PROBLEM = 12, pcpp::ICMP_TIMESTAMP_REQUEST = 13, pcpp::ICMP_TIMESTAMP_REPLY = 14, pcpp::ICMP_INFO_REQUEST = 15,
  pcpp::ICMP_INFO_REPLY = 16, pcpp::ICMP_ADDRESS_MASK_REQUEST = 17, pcpp::ICMP_ADDRESS_MASK_REPLY = 18, pcpp::ICMP_UNSUPPORTED = 255
}
 
enum  pcpp::IcmpDestUnreachableCodes {
  pcpp::IcmpNetworkUnreachable = 0, pcpp::IcmpHostUnreachable = 1, pcpp::IcmpProtocolUnreachable = 2, pcpp::IcmpPortUnreachable = 3,
  pcpp::IcmpDatagramTooBig = 4, pcpp::IcmpSourceRouteFailed = 5, pcpp::IcmpDestinationNetworkUnknown = 6, pcpp::IcmpDestinationHostUnknown = 7,
  pcpp::IcmpSourceHostIsolated = 8, pcpp::IcmpDestinationNetworkProhibited = 9, pcpp::IcmpDestinationHostProhibited = 10, pcpp::IcmpNetworkUnreachableForTypeOfService = 11,
  pcpp::IcmpHostUnreachableForTypeOfService = 12, pcpp::IcmpCommunicationProhibited = 13, pcpp::IcmpHostPrecedenceViolation = 14, pcpp::IcmpPrecedenceCutoff = 15
}