NetBurner 3.5.0
PDF Version
 
ethernet.h File Reference

NetBurner Ethernet API. More...

#include <basictypes.h>
#include <buffers.h>
#include <nettypes.h>

Go to the source code of this file.

Classes

struct  _EthernetFrameHeader
 Ethernet Type II Frame Header. More...
 

Macros

#define NO_AUTOMATIC_2ND_ETHERNET   extern const bool bAutomatic2ndEther = false;
 Disable automatic initialization of second Ethernet interface.
 
Ethernet Interface Types

EtherType Field ( Ethernet Version II )

#define ETHERNET_ETHERTYPE_IPv4   (uint16_t)(0x0800)
 Internet Protocol, Version 4 (IPv4)
 
#define ETHERNET_ETHERTYPE_ARP   (uint16_t)(0x0806)
 Address Resolution Protocol (ARP)
 
#define ETHERNET_ETHERTYPE_IPv6   (uint16_t)(0x86DD)
 Internet Protocol, Version 6 (IPv6)
 
#define ETHERNET_ETHERTYPE_AARP   (uint16_t)(0x80F3)
 AppleTalk Address Resolution Prot. (AARP)
 
#define ETHERNET_ETHERTYPE_IPX   (uint16_t)(0x8137)
 Novell Internet Packet Exchange (IPX) (alt.)
 
#define ETHERNET_ETHERTYPE_EAPOL   (uint16_t)(0x888E)
 Extensible Authorization Protocol (EAP) over LAN.
 
#define ETHERNET_ETHERTYPE_VLAN   (uint16_t)(0x8100)
 Virtual Private Network (VLAN)
 

Typedefs

typedef struct _EthernetFrameHeader EthernetFrameHeader
 Ethernet Type II Frame Header.
 

Functions

void AddEthernetInterfaces ()
 Add an Ethernet interface.
 
void ManualEthernetConfig (int interface, BOOL speed100Mbit, BOOL fullDuplex, BOOL autoNegotiate)
 Manually configure Ethernet speed and duplex settings.
 
void DisablePHY (int ifn)
 Disable the specified Ethernet PHY.
 
void EnablePHY (int ifn)
 Disable the specified Ethernet PHY.
 

Detailed Description

NetBurner Ethernet API.