equal
deleted
inserted
replaced
37 * when calling Ipv4::AggregateObject. |
37 * when calling Ipv4::AggregateObject. |
38 */ |
38 */ |
39 class ArpIpv4Interface : public Ipv4Interface |
39 class ArpIpv4Interface : public Ipv4Interface |
40 { |
40 { |
41 public: |
41 public: |
42 ArpIpv4Interface (Ptr<Node> node, Ptr<NetDevice> device); |
42 ArpIpv4Interface (); |
43 virtual ~ArpIpv4Interface (); |
43 virtual ~ArpIpv4Interface (); |
|
44 |
|
45 void SetNode (Ptr<Node> node); |
|
46 void SetDevice (Ptr<NetDevice> device); |
|
47 |
|
48 virtual Ptr<NetDevice> GetDevice (void) const; |
44 |
49 |
45 private: |
50 private: |
46 virtual void SendTo (Ptr<Packet> p, Ipv4Address dest); |
51 virtual void SendTo (Ptr<Packet> p, Ipv4Address dest); |
|
52 virtual void DoDispose (void); |
47 Ptr<Node> m_node; |
53 Ptr<Node> m_node; |
|
54 Ptr<NetDevice> m_device; |
48 }; |
55 }; |
49 |
56 |
50 }//namespace ns3 |
57 }//namespace ns3 |
51 |
58 |
52 |
59 |