|
| | GvcpForceIpRequestLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
| |
| | GvcpForceIpRequestLayer (const MacAddress &macAddress, const IPv4Address &ipAddress, const IPv4Address &subnetMask, const IPv4Address &gatewayIpAddress, GvcpFlag flag=0, uint16_t requestId=1) |
| |
| MacAddress | getMacAddress () const |
| |
| void | setMacAddress (const MacAddress &macAddress) |
| |
| IPv4Address | getIpAddress () const |
| |
| void | setIpAddress (const IPv4Address &ipAddress) |
| |
| IPv4Address | getSubnetMask () const |
| |
| void | setSubnetMask (const IPv4Address &subnetMask) |
| |
| IPv4Address | getGatewayIpAddress () const |
| |
| void | setGatewayIpAddress (const IPv4Address &gatewayIpAddress) |
| |
| size_t | getHeaderLen () const override |
| |
| | GvcpRequestLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
| |
| | GvcpRequestLayer (GvcpCommand command, GvcpFlag flag=0, uint16_t requestId=1) |
| |
| GvcpFlag | getFlag () const |
| |
| void | setFlag (GvcpFlag flag) |
| |
| bool | hasAcknowledgeFlag () const |
| |
| uint16_t | getRequestId () const |
| |
| void | setRequestId (uint16_t requestId) |
| |
| GvcpCommand | getCommand () const override |
| |
| uint16_t | getDataSize () const override |
| |
|
void | computeCalculateFields () override |
| | Calculate the data size field in the header according to the size of the data that follows the header.
|
| |
| std::string | toString () const override |
| |
|
void | parseNextLayer () override |
| | Creates a PayloadLayer from the rest of the message, if there is data after this layer.
|
| |
| OsiModelLayer | getOsiModelLayer () const override |
| |
| | ~Layer () override |
| |
| Layer * | getNextLayer () const |
| |
| Layer * | getPrevLayer () const |
| |
| ProtocolType | getProtocol () const |
| |
| bool | isMemberOfProtocolFamily (ProtocolTypeFamily protocolTypeFamily) 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 |
| | Copy the raw data of this layer to another array. More...
|
| |
| size_t | copyData (uint8_t *dest, size_t destSize) const |
| | Copy the raw data of this layer to another array, with a specified maximum size. More...
|
| |
| void | serialize (ISerializer &serializer) const |
| |
| uint8_t * | getDataPtr (size_t offset=0) const override |
| |
|
| void | serializeLayer (ObjectScope &serializer) const override |
| |
| | GvcpRequestLayer (GvcpCommand command, GvcpFlag flag, uint16_t requestId, size_t bodyLen) |
| |
| void | initLayer (size_t dataLen) |
| |
| Packet * | getAttachedPacket () |
| | Get a pointer to the Packet this layer is attached to (if any). More...
|
| |
| Packet const * | getAttachedPacket () const |
| | Get a pointer to the Packet this layer is attached to (if any). More...
|
| |
| void | allocData (size_t dataLen, bool zeroInit=true) |
| | Requests the layer to allocate a new data buffer of the specified length. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack. No validation is performed on the data. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename TFactory , typename... Args> |
| Layer * | constructNextLayerFromFactory (TFactory factoryFn, uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack using a factory functor. More...
|
| |
| template<typename TFactory , typename... Args> |
| Layer * | constructNextLayerFromFactory (TFactory factoryFn, uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| | Construct the next layer in the protocol stack using a factory functor. More...
|
| |
| template<typename T , typename... Args> |
| Layer * | tryConstructNextLayer (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| |
| template<typename T , typename... Args> |
| Layer * | tryConstructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename T , typename TFallback , typename... Args> |
| Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack with a fallback option. More...
|
| |
| template<typename T , typename TFallback , typename... Args> |
| Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| |
| template<typename TFallback , typename TFactory , typename... Args> |
| Layer * | tryConstructNextLayerFromFactoryWithFallback (TFactory factoryFn, uint8_t *data, size_t dataLen, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack using a factory functor with a fallback option. More...
|
| |
| template<typename TFallback , typename TFactory , typename... Args> |
| Layer * | tryConstructNextLayerFromFactoryWithFallback (TFactory factoryFn, uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
| | Try to construct the next layer in the protocol stack using a factory functor with a fallback option. More...
|
| |
Represents a GVCP force IP command (FORCEIP_CMD)