NetdeviceController.cc File Reference

NetdeviceController non-inline non-template implementation. More...

#include "NetdeviceController.hh"
#include <sys/socket.h>
#include <linux/sockios.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/if_vlan.h>
#include <linux/net_tstamp.h>
#include <boost/weak_ptr.hpp>
#include <boost/filesystem/fstream.hpp>
#include <senf/Utils/Exception.hh>
#include <senf/Utils/String.hh>
#include <senf/Socket/Protocols/Raw/MACAddress.hh>

Go to the source code of this file.

Macros

#define prefix_
 
#define doIoctl(ifr, request, errorMsg)
 

Detailed Description

NetdeviceController non-inline non-template implementation.

Definition in file NetdeviceController.cc.

Macro Definition Documentation

◆ doIoctl

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

Definition at line 37 of file NetdeviceController.cc.

◆ prefix_

#define prefix_

Definition at line 34 of file NetdeviceController.cc.