NEW FILE HEADER / COPYRIGHT FORMAT
[senf.git] / Socket / NetdeviceController.hh
index bf224ef..4f2ced0 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Thorsten Horstmann <thorsten.horstmann@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Thorsten Horstmann <tho@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -51,14 +51,14 @@ namespace senf {
         
         MACAddress hardwareAddress();
         std::string interfaceName();
-        int interfaceIndex();
+        int interfaceIndex(); ///< return the interface index of the interface
         int mtu();
         void mtu(int new_mtu);
     
     private:
         void openSocket();
         void doIoctl(ifreq& ifr, int request);
-        void set_ifr_name(ifreq& ifr);
+        void ifrName(ifreq& ifr);
         int sockfd_;
         int ifindex_;
     };