X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FNetdeviceController.hh;h=3699f7768c54b516f43d0ec16d446e167e29a7ff;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=b7b4259de3e511cff42513d4505ae2bb0e06cc11;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Socket/NetdeviceController.hh b/senf/Socket/NetdeviceController.hh index b7b4259..3699f77 100644 --- a/senf/Socket/NetdeviceController.hh +++ b/senf/Socket/NetdeviceController.hh @@ -70,16 +70,16 @@ namespace senf { void interfaceName(const std::string &newName); ///< set interface name /**< Changes the name of the interface. - Note, that setting the name is a privileged operation. - It is only allowed when the interface is not up. If - the interface is up, this call will cause an + Note, that setting the name is a privileged operation. + It is only allowed when the interface is not up. If + the interface is up, this call will cause an SystemException to be thrown. */ int mtu() const; ///< return the Maximum Transmission Unit void mtu(int new_mtu); ///< set the Maximum Transmission Unit /**< Set the MTU (Maximum Transfer Unit) of the device. Note, that this is a privileged operation. - Setting the MTU to too small values may cause kernel + Setting the MTU to too small values may cause kernel crashes. */ bool promisc() const; ///< return \c true if interface is in promiscuous mode