Public Member Functions | |
void | SetNode (Ptr< Node > node) |
virtual int | GetProtocolNumber (void) const |
virtual enum Ipv4L4Protocol::RxStatus | Receive (Ptr< Packet > p, const Ipv4Address &source, const Ipv4Address &destination, Ptr< Ipv4Interface > incomingInterface) |
void | SendDestUnreachFragNeeded (Ipv4Header header, Ptr< const Packet > orgData, uint16_t nextHopMtu) |
void | SendTimeExceededTtl (Ipv4Header header, Ptr< const Packet > orgData) |
void | SendDestUnreachPort (Ipv4Header header, Ptr< const Packet > orgData) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::Icmpv4L4Protocol. | |
static uint16_t | GetStaticProtocolNumber (void) |
Static Public Attributes | |
static const uint8_t | PROT_NUMBER |
Protected Member Functions | |
virtual void | NotifyNewAggregate () |
virtual int ns3::Icmpv4L4Protocol::GetProtocolNumber | ( | void | ) | const [virtual] |
Implements ns3::Ipv4L4Protocol.
static TypeId ns3::Icmpv4L4Protocol::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::Icmpv4L4Protocol.
No Attributes defined for this type.
Attributes defined in parent class ns3::Ipv4L4Protocol:
No TraceSources defined for this type.
Reimplemented from ns3::Ipv4L4Protocol.
virtual void ns3::Icmpv4L4Protocol::NotifyNewAggregate | ( | ) | [protected, virtual] |
This method is invoked whenever two sets of objects are aggregated together. It is invoked exactly once for each object in both sets. This method can be overriden by subclasses who wish to be notified of aggregation events. These subclasses must chain up to their base class NotifyNewAggregate method. It is safe to call GetObject and AggregateObject from within this method.
Reimplemented from ns3::Object.
virtual enum Ipv4L4Protocol::RxStatus ns3::Icmpv4L4Protocol::Receive | ( | Ptr< Packet > | p, | |
const Ipv4Address & | source, | |||
const Ipv4Address & | destination, | |||
Ptr< Ipv4Interface > | incomingInterface | |||
) | [virtual] |
p | packet to forward up | |
source | source address of packet received | |
destination | address of packet received | |
incomingInterface | the Ipv4Interface on which the packet arrived |
Called from lower-level layers to send the packet up in the stack.
Implements ns3::Ipv4L4Protocol.