RDK Documentation (Open Sourced RDK Components)
Device_InterfaceStack.cpp File Reference

This source file contains the APIs of device interface stack. More...

#include <string>
#include <sstream>
#include <map>
#include <utility>
#include <typeinfo>
#include <list>
#include <string.h>
#include "Device_InterfaceStack.h"
#include "Device_IP.h"
#include "Device_IP_Interface.h"
#include "Device_Ethernet_Interface.h"
#include "hostIf_utils.h"
Include dependency graph for Device_InterfaceStack.cpp:

Go to the source code of this file.

Macros

#define MAX_BUF_LEN   128
 
#define MAX_CMD_LEN   256
 
#define MAX_IFNAME_LEN   64
 
#define SYS_CLASS_NET_PATH   "/sys/class/net/"
 
#define IN
 
#define OUT
 
#define INOUT
 
#define DEVICE_ETHERNET_INTERFACE(PORT_NUM)   std::string("Device.Ethernet.Interface.") + int_to_string(PORT_NUM)
 
#define DEVICE_IP_INTERFACE(PORT_NUM)   std::string("Device.IP.Interface.") + int_to_string(PORT_NUM)
 
#define DEVICE_BRIDGING_BRIDGE(BRIDGE_NUM, PORT_NUM)
 

yes

This source file contains the APIs of device interface stack.

Definition in file Device_InterfaceStack.cpp.

Macro Definition Documentation

◆ DEVICE_BRIDGING_BRIDGE

#define DEVICE_BRIDGING_BRIDGE (   BRIDGE_NUM,
  PORT_NUM 
)
Value:
(std::string("Device.Bridging.Bridge.") + \
int_to_string(BRIDGE_NUM) + \
".PORT." + \
int_to_string(PORT_NUM))

Definition at line 63 of file Device_InterfaceStack.cpp.