NetBurner 3.5.0
PDF Version
 
netinterface.h File Reference

NetBurner Network Interface Header File. More...

#include <predef.h>
#include <autoip.h>
#include <config_netobj.h>
#include <config_obj.h>
#include <dhcpclient.h>
#include <discoveryservlet.h>
#include <mDNS.h>
#include <nettypes.h>
#include <buffers.h>

Go to the source code of this file.

Classes

class  InterfaceBlock
 Network interface configuration block class for interface control and configuration. More...
 

Functions

int Removeinterface (int interface)
 Remove a network interface from the system.
 
void EnableMulticast (MACADR macAddress, int interface=0)
 Enable Multicast on an existing interface.
 
void DisableMulticast (MACADR macAddress, int interface=0)
 Disable Multicast on an existing interface.
 
InterfaceBlockGetInterfaceBlock (int interface=0)
 Get an InterfaceBlock control and configuration object.
 
int32_t GetFirstInterface (void)
 Returns the Interface Number of the first registered network interface.
 
int32_t GetNextInterface (int lastInterface)
 Returns the Interface Number of the next registered network interface.
 
int32_t GetInterfaceNumber (InterfaceBlock *pifb)
 Returns the Interface Number of the specified network interface InterfaceBlock.
 
int32_t GetInterfaceForMyAddress4 (IPADDR4 ip)
 Returns the Interface Number of the specified network interface IPv4 address.
 
bool GetInterfaceLink (int ifn)
 Returns the network interface link status.
 
MACADR InterfaceMAC (int interface)
 Returns the MAC address of the specified network interface.
 
bool InterfaceLinkActive (int interface)
 Returns the link status of the specified network interface.
 
int InterfaceLinkSpeed (int interface)
 Returns the 10/100 link speed of the specified network interface.
 
bool InterfaceLinkDuplex (int interface)
 Returns the full or half link duplex of the specified network interface.
 
const char * InterfaceName (int interface)
 Returns the interface name of the specified network interface.
 
IPADDR4 InterfaceIP (int interface)
 Returns the IPv4 IP address of the specified network interface.
 
IPADDR4 InterfaceAutoIP (int interface)
 Returns the IPv4 IP AutoIP address of the specified network interface.
 
IPADDR4 InterfaceDNS (int interface)
 Returns the IPv4 DNS address of the specified network interface.
 
IPADDR4 InterfaceDNS2 (int interface)
 Returns the second IPv4 DNS address of the specified network interface.
 
IPADDR4 InterfaceMASK (int interface)
 Returns the IPv4 network mask of the specified network interface.
 
IPADDR4 InterfaceGate (int interface)
 Returns the IPv4 gateway address of the specified network interface.
 

Detailed Description

NetBurner Network Interface Header File.

All network interfaces and functions are accessed through the network interface API including:

  • Ethernet
  • Wifi
  • AutoIP
  • Multihome
  • PPP