src/internet-stack/ipv4-end-point.h
changeset 3266 1ae7df5cf87b
parent 3260 8c0ab08144e6
child 3820 c04ecfdce1ef
equal deleted inserted replaced
3265:789dd0f5ca94 3266:1ae7df5cf87b
    28 namespace ns3 {
    28 namespace ns3 {
    29 
    29 
    30 class Header;
    30 class Header;
    31 class Packet;
    31 class Packet;
    32 
    32 
       
    33 /**
       
    34  * \brief A representation of an internet endpoint/connection
       
    35  *
       
    36  * This class provides an internet four-tuple (source and destination ports 
       
    37  * and addresses).  These are used in the ns3::Ipv4EndPointDemux as targets
       
    38  * of lookups.  The class also has a callback for notification to higher
       
    39  * layers that a packet from a lower layer was received.  In the ns3
       
    40  * internet-stack, these notifications are automatically registered to be
       
    41  * received by the corresponding socket.
       
    42  */
       
    43 
    33 class Ipv4EndPoint {
    44 class Ipv4EndPoint {
    34 public:
    45 public:
    35   Ipv4EndPoint (Ipv4Address address, uint16_t port);
    46   Ipv4EndPoint (Ipv4Address address, uint16_t port);
    36   ~Ipv4EndPoint ();
    47   ~Ipv4EndPoint ();
    37 
    48