IPv6 Option Router Alert. More...
#include <ipv6-option.h>
Public Member Functions | |
Ipv6OptionRouterAlert () | |
Constructor. | |
~Ipv6OptionRouterAlert () | |
Destructor. | |
virtual uint8_t | GetOptionNumber () const |
Get the option number. | |
virtual uint8_t | Process (Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped) |
Process method. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type identificator. | |
Static Public Attributes | |
static const uint8_t | OPT_NUMBER = 43 |
Router alert option number. |
IPv6 Option Router Alert.
virtual uint8_t ns3::Ipv6OptionRouterAlert::GetOptionNumber | ( | ) | const [virtual] |
static TypeId ns3::Ipv6OptionRouterAlert::GetTypeId | ( | void | ) | [static] |
Get the type identificator.
This method returns the TypeId associated to ns3::Ipv6OptionRouterAlert.
No Attributes defined for this type.
Attributes defined in parent class ns3::Ipv6Option:
No TraceSources defined for this type.
Reimplemented from ns3::Ipv6Option.
virtual uint8_t ns3::Ipv6OptionRouterAlert::Process | ( | Ptr< Packet > | packet, | |
uint8_t | offset, | |||
Ipv6Header const & | ipv6Header, | |||
bool & | isDropped | |||
) | [virtual] |
Process method.
Called from Ipv6L3Protocol::Receive.
packet | the packet | |
offset | the offset of the extension to process | |
ipv6Header | the IPv6 header of packet received | |
isDropped | if the packet must be dropped |
Implements ns3::Ipv6Option.