INET Framework for OMNeT++/OMNEST
PacketDrillSctpChunk Class Reference

#include <PacketDrillUtils.h>

Inheritance diagram for PacketDrillSctpChunk:

Public Member Functions

 PacketDrillSctpChunk (uint8 type_, SCTPChunk *sctpChunk)
 
uint8 getType ()
 
SCTPChunkgetChunk ()
 

Private Attributes

uint8 type
 
SCTPChunkchunk
 

Constructor & Destructor Documentation

PacketDrillSctpChunk::PacketDrillSctpChunk ( uint8  type_,
SCTPChunk *  sctpChunk 
)
404 {
405  type = type_;
406  chunk = sctpChunk->dup();
407  delete sctpChunk;
408 };
Definition: sctphdr.h:121
uint8 type
Definition: PacketDrillUtils.h:723
virtual SCTPChunk * dup() const override
Definition: SCTPMessage_m.h:155

Member Function Documentation

SCTPChunk* PacketDrillSctpChunk::getChunk ( )
inline

Referenced by PacketDrill::buildSCTPPacket().

728 { return chunk; };
SCTPChunk * chunk
Definition: PacketDrillUtils.h:724
uint8 PacketDrillSctpChunk::getType ( )
inline

Referenced by PacketDrill::buildSCTPPacket().

727 { return type; };
uint8 type
Definition: PacketDrillUtils.h:723

Member Data Documentation

SCTPChunk* PacketDrillSctpChunk::chunk
private
uint8 PacketDrillSctpChunk::type
private

The documentation for this class was generated from the following files: