Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

_NetInterface Struct Reference

_NetInterface Struct Reference

Structure describing a network interface. More...

#include <net.h>

Data Fields

uint32_t id
 A unique number identifying the interface.
Eui64 eui64
 EUI-64 interface identifier.
char_t name [NET_MAX_IF_NAME_LEN+1]
 A unique name identifying the interface.
char_t hostname [NET_MAX_HOSTNAME_LEN+1]
 Host name.
char_t proxyName [NET_MAX_PROXY_NAME_LEN+1]
 Proxy server name.
uint16_t proxyPort
 Proxy server port.
const NicDrivernicDriver
 NIC driver.
const PhyDriverphyDriver
 PHY driver.
uint8_t phyAddr
 PHY address.
const SpiDriverspiDriver
 Underlying SPI driver.
const UartDriveruartDriver
 Underlying UART driver.
const ExtIntDriverextIntDriver
 External interrupt line driver.
uint8_t nicContext [NIC_CONTEXT_SIZE]
 Driver specific context.
OsEvent nicTxEvent
 Network controller TX event.
bool_t nicEvent
 A NIC event is pending.
bool_t phyEvent
 A PHY event is pending.
bool_t linkState
 Link state.
uint32_t linkSpeed
 Link speed.
NicDuplexMode duplexMode
 Duplex mode.
bool_t configured
 Configuration done.
MacAddr macAddr
 Link-layer address.
MacFilterEntry macMulticastFilter [MAC_MULTICAST_FILTER_SIZE]
 Multicast MAC filter.
Ipv4Context ipv4Context
 IPv4 context.
ArpCacheEntry arpCache [ARP_CACHE_SIZE]
 ARP cache.
systime_t igmpv1RouterPresentTimer
 IGMPv1 router present timer.
bool_t igmpv1RouterPresent
 An IGMPv1 query has been recently heard.
AutoIpContext * autoIpContext
 Auto-IP context.
DhcpClientContext * dhcpClientContext
 DHCP client context.
DhcpServerContextdhcpServerContext
 DHCP server context.
Ipv6Context ipv6Context
 IPv6 context.
NdpContext ndpContext
 NDP context.
NdpRouterAdvContextndpRouterAdvContext
 RA service context.
SlaacContext * slaacContext
 SLAAC context.
Dhcpv6ClientContext * dhcpv6ClientContext
 DHCPv6 client context.
MdnsResponderContext * mdnsResponderContext
 mDNS responder context
PppContext * pppContext
 DNS-SD context.

Detailed Description

Structure describing a network interface.

Definition at line 146 of file net.h.


Field Documentation

ArpCacheEntry arpCache[ARP_CACHE_SIZE]

ARP cache.

Definition at line 176 of file net.h.

AutoIpContext* autoIpContext

Auto-IP context.

Definition at line 182 of file net.h.

bool_t configured

Configuration done.

Definition at line 167 of file net.h.

DhcpClientContext* dhcpClientContext

DHCP client context.

Definition at line 185 of file net.h.

DHCP server context.

Definition at line 188 of file net.h.

Dhcpv6ClientContext* dhcpv6ClientContext

DHCPv6 client context.

Definition at line 204 of file net.h.

Duplex mode.

Definition at line 166 of file net.h.

Eui64 eui64

EUI-64 interface identifier.

Definition at line 149 of file net.h.

External interrupt line driver.

Definition at line 159 of file net.h.

char_t hostname[NET_MAX_HOSTNAME_LEN+1]

Host name.

Definition at line 151 of file net.h.

uint32_t id

A unique number identifying the interface.

Definition at line 148 of file net.h.

An IGMPv1 query has been recently heard.

Definition at line 179 of file net.h.

IGMPv1 router present timer.

Definition at line 178 of file net.h.

IPv4 context.

Definition at line 175 of file net.h.

IPv6 context.

Definition at line 193 of file net.h.

uint32_t linkSpeed

Link speed.

Definition at line 165 of file net.h.

bool_t linkState

Link state.

Definition at line 164 of file net.h.

MacAddr macAddr

Link-layer address.

Definition at line 170 of file net.h.

MacFilterEntry macMulticastFilter[MAC_MULTICAST_FILTER_SIZE]

Multicast MAC filter.

Definition at line 171 of file net.h.

MdnsResponderContext* mdnsResponderContext

mDNS responder context

Definition at line 209 of file net.h.

char_t name[NET_MAX_IF_NAME_LEN+1]

A unique name identifying the interface.

Definition at line 150 of file net.h.

NDP context.

Definition at line 195 of file net.h.

RA service context.

Definition at line 198 of file net.h.

uint8_t nicContext[NIC_CONTEXT_SIZE]

Driver specific context.

Definition at line 160 of file net.h.

NIC driver.

Definition at line 154 of file net.h.

bool_t nicEvent

A NIC event is pending.

Definition at line 162 of file net.h.

Network controller TX event.

Definition at line 161 of file net.h.

uint8_t phyAddr

PHY address.

Definition at line 156 of file net.h.

PHY driver.

Definition at line 155 of file net.h.

bool_t phyEvent

A PHY event is pending.

Definition at line 163 of file net.h.

PppContext* pppContext

DNS-SD context.

PPP context

Definition at line 217 of file net.h.

char_t proxyName[NET_MAX_PROXY_NAME_LEN+1]

Proxy server name.

Definition at line 152 of file net.h.

uint16_t proxyPort

Proxy server port.

Definition at line 153 of file net.h.

SlaacContext* slaacContext

SLAAC context.

Definition at line 201 of file net.h.

Underlying SPI driver.

Definition at line 157 of file net.h.

Underlying UART driver.

Definition at line 158 of file net.h.