PcapPlusPlus
22.11
|
#include <NdpLayer.h>
Public Member Functions | |
NdpOptionBuilder (NDPNeighborOptionTypes optionType, const uint8_t *optionValue, uint8_t optionValueLen) | |
NdpOption | build () const |
A class for building NDP option records. This builder receives the NDP option parameters in its c'tor, builds the NDP option raw buffer and provides a build() method to get a NdpOption object out of it
|
inline |
A c'tor for building NDP options which their value is a byte array. The NdpOption object can be later retrieved by calling build(). Each option is padded to have a 64-bit boundary.
[in] | optionType | NDP option type |
[in] | optionValue | A buffer containing the option value. This buffer is read-only and isn't modified in any way. |
[in] | optionValueLen | Option value length in bytes |