equal
deleted
inserted
replaced
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 |