NetBurner 3.5.0
PDF Version |
|
Functions | |
int | AddVlanInterface (IPADDR4 addr, IPADDR4 mask, IPADDR4 gateway, uint16_t vlan_tag, const char *ParentName) |
Add a VLAN interface with a Parent Name. | |
int | AddVlanInterface (IPADDR4 addr, IPADDR4 mask, IPADDR4 gateway, uint16_t vlan_tag, InterfaceBlock &parent) |
Add a VLAN interface with a Partent InterfaceBlock reference. | |
int | AddVlanInterface (IPADDR4 addr, IPADDR4 mask, IPADDR4 gateway, uint16_t vlan_tag, int root_if=0) |
Add a VLAN interface with an interface number. | |
int | AddInterface (IPADDR4 addr, IPADDR4 mask, IPADDR4 gateway, const char *ParentName) |
Add an interface with a Parent Name. | |
int | AddInterface (IPADDR4 addr, IPADDR4 mask, IPADDR4 gateway, InterfaceBlock &parent) |
Add an interface with a Partent InterfaceBlock reference. | |
int | AddInterface (IPADDR4 addr, IPADDR4 mask, IPADDR4 gateway, int root_if=0) |
Add an interface with an interface number. | |
#include< multihome.h >
Create Multihome and VLAN Interfaces
#include <multihome.h>
Add an interface with a Parent Name.
addr | IP address of new interface |
mask | IP mask |
gateway | IP gateway |
ParentName | Name of parent physical interface, such as Ethernet0. |
returns Interface number of newly created interface
#include <multihome.h>
Add an interface with an interface number.
addr | IP address of new interface |
mask | IP mask |
gateway | IP gateway |
root_if | Optional root physical interface number. If not specified the default is 0, for Ethernt 0. |
returns Interface number of newly created interface
|
inline |
#include <multihome.h>
Add an interface with a Partent InterfaceBlock reference.
addr | IP address of new interface |
mask | IP mask |
gateway | IP gateway |
parent | Reference to parent physical interface of type InterfaceBlock. |
returns Interface number of newly created interface
int AddVlanInterface | ( | IPADDR4 | addr, |
IPADDR4 | mask, | ||
IPADDR4 | gateway, | ||
uint16_t | vlan_tag, | ||
const char * | ParentName ) |
#include <multihome.h>
Add a VLAN interface with a Parent Name.
addr | IP address of new interface |
mask | IP mask |
gateway | IP gateway |
vlan_tag | VLAN tag/id for interface |
ParentName | Name of parent physical interface, such as Ethernet0. |
returns Interface number of newly created VLAN interface
int AddVlanInterface | ( | IPADDR4 | addr, |
IPADDR4 | mask, | ||
IPADDR4 | gateway, | ||
uint16_t | vlan_tag, | ||
int | root_if = 0 ) |
#include <multihome.h>
Add a VLAN interface with an interface number.
addr | IP address of new interface |
mask | IP mask |
gateway | IP gateway |
vlan_tag | VLAN tag/id for interface |
root_if | Optional root physical interface number. If not specified the default is 0 for Ethernet 0. |
returns Interface number of newly created VLAN interface
int AddVlanInterface | ( | IPADDR4 | addr, |
IPADDR4 | mask, | ||
IPADDR4 | gateway, | ||
uint16_t | vlan_tag, | ||
InterfaceBlock & | parent ) |
#include <multihome.h>
Add a VLAN interface with a Partent InterfaceBlock reference.
addr | IP address of new interface |
mask | IP mask |
gateway | IP gateway |
vlan_tag | VLAN tag/id for interface |
parent | Reference to parent physical interface of type InterfaceBlock |
returns Interface number of newly created VLAN interface