26 #include "ns3/object.h"
30 #include "ns3/ipv6-header.h"
31 #include "ns3/buffer.h"
32 #include "ns3/packet.h"
33 #include "ns3/ipv6-address.h"
virtual uint8_t Process(Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped)=0
Process method.
static TypeId GetTypeId()
Get the type identificator.
virtual uint8_t GetOptionNumber() const =0
Get the option number.
Ptr< Node > m_node
The node.
virtual ~Ipv6Option()
Destructor.
void SetNode(Ptr< Node > node)
Set the node.
static TypeId GetTypeId()
Get the type identificator.
virtual uint8_t Process(Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped)
Process method Called from Ipv6L3Protocol::Receive.
~Ipv6OptionJumbogram()
Destructor.
virtual uint8_t GetOptionNumber() const
Get the option number.
static const uint8_t OPT_NUMBER
Jumbogram option number.
Ipv6OptionJumbogram()
Constructor.
~Ipv6OptionPad1()
Destructor.
virtual uint8_t Process(Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped)
Process method.
virtual uint8_t GetOptionNumber() const
Get the option number.
static TypeId GetTypeId()
Get the type identificator.
static const uint8_t OPT_NUMBER
Pad1 option number.
Ipv6OptionPad1()
Constructor.
virtual uint8_t Process(Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped)
Process method.
static const uint8_t OPT_NUMBER
PadN option number.
~Ipv6OptionPadn()
Destructor.
virtual uint8_t GetOptionNumber() const
Get the option number.
Ipv6OptionPadn()
Constructor.
static TypeId GetTypeId()
Get the type identificator.
IPv6 Option Router Alert.
static const uint8_t OPT_NUMBER
Router alert option number.
static TypeId GetTypeId()
Get the type identificator.
virtual uint8_t Process(Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped)
Process method.
Ipv6OptionRouterAlert()
Constructor.
virtual uint8_t GetOptionNumber() const
Get the option number.
~Ipv6OptionRouterAlert()
Destructor.
A base class which provides memory management and object aggregation.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.