A Set of Fragment belonging to the same packet (src, dst, identification and proto) More...
 Inheritance diagram for ns3::Ipv4L3Protocol::Fragments:
 Inheritance diagram for ns3::Ipv4L3Protocol::Fragments: Collaboration diagram for ns3::Ipv4L3Protocol::Fragments:
 Collaboration diagram for ns3::Ipv4L3Protocol::Fragments:| Public Member Functions | |
| Fragments () | |
| Constructor.  More... | |
| ~Fragments () | |
| Destructor.  More... | |
| void | AddFragment (Ptr< Packet > fragment, uint16_t fragmentOffset, bool moreFragment) | 
| Add a fragment.  More... | |
| Ptr< Packet > | GetPacket () const | 
| Get the entire packet.  More... | |
| Ptr< Packet > | GetPartialPacket () const | 
| Get the complete part of the packet.  More... | |
| bool | IsEntire () const | 
| If all fragments have been added.  More... | |
|  Public Member Functions inherited from ns3::SimpleRefCount< Fragments > | |
| SimpleRefCount () | |
| Constructor.  More... | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor.  More... | |
| uint32_t | GetReferenceCount (void) const | 
| Get the reference count of the object.  More... | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) | 
| Assignment.  More... | |
| void | Ref (void) const | 
| Increment the reference count.  More... | |
| void | Unref (void) const | 
| Decrement the reference count.  More... | |
| Private Attributes | |
| std::list< std::pair< Ptr < Packet >, uint16_t > > | m_fragments | 
| The current fragments.  More... | |
| bool | m_moreFragment | 
| True if other fragments will be sent.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ns3::SimpleRefCount< Fragments > | |
| static void | Cleanup (void) | 
| Noop.  More... | |
A Set of Fragment belonging to the same packet (src, dst, identification and proto)
Definition at line 438 of file ipv4-l3-protocol.h.
| ns3::Ipv4L3Protocol::Fragments::Fragments | ( | ) | 
| ns3::Ipv4L3Protocol::Fragments::~Fragments | ( | ) | 
| void ns3::Ipv4L3Protocol::Fragments::AddFragment | ( | Ptr< Packet > | fragment, | 
| uint16_t | fragmentOffset, | ||
| bool | moreFragment | ||
| ) | 
Add a fragment.
| fragment | the fragment | 
| fragmentOffset | the offset of the fragment | 
| moreFragment | the bit "More Fragment" | 
Definition at line 1380 of file ipv4-l3-protocol.cc.
References ns3::Ipv4L3Protocol::m_fragments, and NS_LOG_FUNCTION.
Referenced by ns3::Ipv4L3Protocol::ProcessFragment().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Get the entire packet.
Definition at line 1433 of file ipv4-l3-protocol.cc.
References ns3::Packet::AddAtEnd(), ns3::Packet::GetSize(), ns3::Ipv4L3Protocol::m_fragments, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by ns3::Ipv4L3Protocol::ProcessFragment().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Get the complete part of the packet.
Definition at line 1471 of file ipv4-l3-protocol.cc.
References ns3::Packet::AddAtEnd(), ns3::Packet::GetSize(), ns3::Ipv4L3Protocol::m_fragments, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
 Here is the call graph for this function:
 Here is the call graph for this function:| bool ns3::Ipv4L3Protocol::Fragments::IsEntire | ( | ) | const | 
If all fragments have been added.
Definition at line 1403 of file ipv4-l3-protocol.cc.
References list, ns3::Ipv4L3Protocol::m_fragments, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Referenced by ns3::Ipv4L3Protocol::ProcessFragment().
 Here is the caller graph for this function:
 Here is the caller graph for this function:The current fragments.
Definition at line 486 of file ipv4-l3-protocol.h.
| 
 | private | 
True if other fragments will be sent.
Definition at line 481 of file ipv4-l3-protocol.h.