EthernetController.cc File Reference

WLANController non-inline non-template implementation. More...

#include "EthernetController.hh"
#include <sys/ioctl.h>
#include <sys/types.h>
#include <net/if.h>
#include <linux/ethtool.h>
#include <linux/sockios.h>
#include <senf/Utils/Exception.hh>
Include dependency graph for EthernetController.cc:

Go to the source code of this file.

Macros

#define prefix_
 
#define doIoctl(ifr, errorMsg)
 

Detailed Description

WLANController non-inline non-template implementation.

Definition in file EthernetController.cc.

Macro Definition Documentation

◆ doIoctl

#define doIoctl (   ifr,
  errorMsg 
)
Value:
if ( ::ioctl( sockfd_->fd, SIOCETHTOOL, &ifr ) < 0 ) \
SENF_THROW_SYSTEM_EXCEPTION("EthernetController: " errorMsg)

Definition at line 31 of file EthernetController.cc.

◆ prefix_

#define prefix_

Definition at line 28 of file EthernetController.cc.