src/node/i-ipv4.h
changeset 568 e1660959ecbb
parent 525 4a6c58f0e327
child 578 e305018537c9
equal deleted inserted replaced
567:6fb98941c36f 568:e1660959ecbb
   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