equal
deleted
inserted
replaced
114 * |
114 * |
115 * Once an interface has been added, it can never be removed: if you want |
115 * Once an interface has been added, it can never be removed: if you want |
116 * to disable it, you can invoke Ipv4Interface::SetDown which will |
116 * to disable it, you can invoke Ipv4Interface::SetDown which will |
117 * make sure that it is never used during packet forwarding. |
117 * make sure that it is never used during packet forwarding. |
118 */ |
118 */ |
119 virtual uint32_t AddInterface (NetDevice *device) = 0; |
119 virtual uint32_t AddInterface (Ptr<NetDevice> device) = 0; |
120 /** |
120 /** |
121 * \returns the number of interfaces added by the user. |
121 * \returns the number of interfaces added by the user. |
122 */ |
122 */ |
123 virtual uint32_t GetNInterfaces (void) = 0; |
123 virtual uint32_t GetNInterfaces (void) = 0; |
124 |
124 |