| 
    PcapPlusPlus
    21.05
    
   | 
 
#include <IPSecLayer.h>
  
 Public Member Functions | |
| AuthenticationHeaderLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
| ipsec_authentication_header * | getAHHeader () const | 
| uint32_t | getSPI () const | 
| uint32_t | getSequenceNumber () const | 
| size_t | getICVLength () const | 
| uint8_t * | getICVBytes () const | 
| std::string | getICVHexStream () const | 
| size_t | getHeaderLen () const | 
| void | parseNextLayer () | 
| void | computeCalculateFields () | 
| std::string | toString () const | 
| OsiModelLayer | getOsiModelLayer () const | 
  Public Member Functions inherited from pcpp::Layer | |
| virtual | ~Layer () | 
| Layer * | getNextLayer () const | 
| Layer * | getPrevLayer () const | 
| ProtocolType | getProtocol () const | 
| uint8_t * | getData () const | 
| size_t | getDataLen () const | 
| uint8_t * | getLayerPayload () const | 
| size_t | getLayerPayloadSize () const | 
| bool | isAllocatedToPacket () const | 
| void | copyData (uint8_t *toArr) const | 
| uint8_t * | getDataPtr (size_t offset=0) const | 
Static Public Member Functions | |
| static bool | isDataValid (const uint8_t *data, size_t dataLen) | 
Represents an IPSec AuthenticationHeader (AH) layer
      
  | 
  inline | 
A constructor that creates the layer from an existing packet raw data
| [in] | data | A pointer to the raw data | 
| [in] | dataLen | Size of the data in bytes | 
| [in] | prevLayer | A pointer to the previous layer | 
| [in] | packet | A pointer to the Packet instance where layer will be stored in | 
      
  | 
  inlinevirtual | 
Does nothing for this layer
Implements pcpp::Layer.
      
  | 
  inline | 
Get a pointer to the raw AH header. Notice this points directly to the data, so every change will change the actual packet data
      
  | 
  inlinevirtual | 
Implements pcpp::Layer.
| uint8_t* pcpp::AuthenticationHeaderLayer::getICVBytes | ( | ) | const | 
| std::string pcpp::AuthenticationHeaderLayer::getICVHexStream | ( | ) | const | 
| size_t pcpp::AuthenticationHeaderLayer::getICVLength | ( | ) | const | 
      
  | 
  inlinevirtual | 
Implements pcpp::Layer.
| uint32_t pcpp::AuthenticationHeaderLayer::getSequenceNumber | ( | ) | const | 
| uint32_t pcpp::AuthenticationHeaderLayer::getSPI | ( | ) | const | 
      
  | 
  inlinestatic | 
A static method that validates the input data
| [in] | data | The pointer to the beginning of a byte stream of a AuthenticationHeader layer | 
| [in] | dataLen | The length of byte stream | 
      
  | 
  virtual | 
Currently identifies the following next layers: UdpLayer, TcpLayer, IPv4Layer, IPv6Layer and ESPLayer. Otherwise sets PayloadLayer
Implements pcpp::Layer.
      
  | 
  virtual | 
Implements pcpp::Layer.