Public Member Functions

ns3::NscTcpL4Protocol Class Reference
[NscTcp]

Nsc wrapper glue, to interface with the Ipv4 protocol underneath. More...

#include <nsc-tcp-l4-protocol.h>

Inheritance diagram for ns3::NscTcpL4Protocol:
Inheritance graph
[legend]
Collaboration diagram for ns3::NscTcpL4Protocol:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NscTcpL4Protocol ()
 Constructor.
Ptr< SocketCreateSocket (void)
virtual void Receive (Ptr< Packet > p, Ipv4Address const &source, Ipv4Address const &destination, Ptr< Ipv4Interface > incomingInterface)
 Recieve a packet up the protocol stack.

Detailed Description

Nsc wrapper glue, to interface with the Ipv4 protocol underneath.


Member Function Documentation

Ptr<Socket> ns3::NscTcpL4Protocol::CreateSocket ( void   ) 
Returns:
A smart Socket pointer to a NscTcpSocketImpl, allocated by this instance of the TCP protocol
virtual void ns3::NscTcpL4Protocol::Receive ( Ptr< Packet p,
Ipv4Address const &  source,
Ipv4Address const &  destination,
Ptr< Ipv4Interface incomingInterface 
) [virtual]

Recieve a packet up the protocol stack.

Parameters:
p The Packet to dump the contents into
source The source's Ipv4Address
destination The destinations Ipv4Address
incomingInterface The Ipv4Interface it was received on

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