OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
freebsd/pkt0_interface.cc File Reference
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
#include <sys/sockio.h>
#include <ifaddrs.h>
#include <net/ethernet.h>
#include "base/logging.h"
#include "cmn/agent_cmn.h"
#include "sandesh/sandesh_trace.h"
#include "pkt/pkt_types.h"
#include "pkt/pkt_init.h"
#include "../pkt0_interface.h"
Include dependency graph for freebsd/pkt0_interface.cc:

Go to the source code of this file.

Macros

#define TAP_TRACE(obj,...)
 

Functions

static bool InterfaceExists (std::string if_name)
 

Macro Definition Documentation

#define TAP_TRACE (   obj,
  ... 
)
Value:
do { \
Tap##obj::TraceMsg(PacketTraceBuf, __FILE__, __LINE__, __VA_ARGS__); \
} while (false) \
SandeshTraceBufferPtr PacketTraceBuf

Definition at line 24 of file freebsd/pkt0_interface.cc.

Function Documentation

static bool InterfaceExists ( std::string  if_name)
static

Definition at line 31 of file freebsd/pkt0_interface.cc.