X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FNetdeviceController.hh;h=0d15068a7e3f99455b7d30509db502f9ca09a53b;hb=73c33f663ff0f65e4656ea5a5f6f07a43a2e1722;hp=3699f7768c54b516f43d0ec16d446e167e29a7ff;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Socket/NetdeviceController.hh b/senf/Socket/NetdeviceController.hh index 3699f77..0d15068 100644 --- a/senf/Socket/NetdeviceController.hh +++ b/senf/Socket/NetdeviceController.hh @@ -82,6 +82,12 @@ namespace senf { Setting the MTU to too small values may cause kernel crashes. */ + int txqueuelen() const; ///< return the Tx Queue Length + void txqueuelen(int new_mtu); ///< set the Tx Queue Length + /**< Set the Tx Queue Length (in Packets) MTU of the device. + Note, that this is a privileged operation. */ + + bool promisc() const; ///< return \c true if interface is in promiscuous mode void promisc(bool mode); ///< enable/disable promiscuous mode of the interface /**< Note, that this is a privileged operation. */