|
PcapPlusPlus
23.09
|
#include <NdpLayer.h>
Public Member Functions | |
| size_t | getNdpOptionCount () const |
| NdpOption | getNdpOption (NDPNeighborOptionTypes option) const |
| NdpOption | getFirstNdpOption () const |
| NdpOption | getNextNdpOption (NdpOption &option) const |
| NdpOption | addNdpOption (const NdpOptionBuilder &optionBuilder) |
| bool | removeAllNdpOptions () |
Public Member Functions inherited from pcpp::IcmpV6Layer | |
| IcmpV6Layer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
| IcmpV6Layer (ICMPv6MessageType msgType, uint8_t code, const uint8_t *data, size_t dataLen) | |
| bool | isMessageOfType (ICMPv6MessageType type) const |
| ICMPv6MessageType | getMessageType () const |
| uint8_t | getCode () const |
| uint16_t | getChecksum () const |
| void | parseNextLayer () |
| size_t | getHeaderLen () const |
| void | computeCalculateFields () |
| OsiModelLayer | getOsiModelLayer () const |
| std::string | toString () 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 |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::IcmpV6Layer | |
| static Layer * | parseIcmpV6Layer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
Represents a base for NDP packet types
| NdpOption pcpp::NDPLayerBase::addNdpOption | ( | const NdpOptionBuilder & | optionBuilder | ) |
Add a new NDP option at the end of the layer (after the last NDP option)
| [in] | optionBuilder | An NdpOptionBuilder object that contains the NDP option data to be added |
| NdpOption pcpp::NDPLayerBase::getFirstNdpOption | ( | ) | const |
| NdpOption pcpp::NDPLayerBase::getNdpOption | ( | NDPNeighborOptionTypes | option | ) | const |
Get a NDP option by type.
| [in] | option | NDP option type |
| size_t pcpp::NDPLayerBase::getNdpOptionCount | ( | ) | const |
Get the NDP option that comes after a given option. If the given option was the last one, the returned value will contain a logical NULL (IdpOption::isNull() == true)
| [in] | option | An NDP option object that exists in the current layer |
| bool pcpp::NDPLayerBase::removeAllNdpOptions | ( | ) |
Remove all NDP options from the layer