_NetInterface Struct Reference
Structure describing a network interface. More...
#include <net.h>
Data Fields | |
| uint_t | index |
| Zero-based index. More... | |
| uint32_t | id |
| A unique number identifying the interface. More... | |
| Eui64 | eui64 |
| EUI-64 interface identifier. More... | |
| char_t | name [NET_MAX_IF_NAME_LEN+1] |
| A unique name identifying the interface. More... | |
| char_t | hostname [NET_MAX_HOSTNAME_LEN+1] |
| Host name. More... | |
| const NicDriver * | nicDriver |
| NIC driver. More... | |
| const SpiDriver * | spiDriver |
| Underlying SPI driver. More... | |
| const UartDriver * | uartDriver |
| Underlying UART driver. More... | |
| const ExtIntDriver * | extIntDriver |
| External interrupt line driver. More... | |
| uint8_t | nicContext [NIC_CONTEXT_SIZE] |
| Driver specific context. More... | |
| OsEvent | nicTxEvent |
| Network controller TX event. More... | |
| bool_t | nicEvent |
| A NIC event is pending. More... | |
| NicLinkState | adminLinkState |
| Administrative link state. More... | |
| bool_t | linkState |
| Link state. More... | |
| uint32_t | linkSpeed |
| Link speed. More... | |
| NicDuplexMode | duplexMode |
| Duplex mode. More... | |
| bool_t | configured |
| Configuration done. More... | |
| systime_t | initialRto |
| TCP initial retransmission timeout. More... | |
| const PhyDriver * | phyDriver |
| Ethernet PHY driver. More... | |
| uint8_t | phyAddr |
| PHY address. More... | |
| bool_t | phyEvent |
| A PHY event is pending. More... | |
| const SwitchDriver * | switchDriver |
| Ethernet switch driver. More... | |
| const SmiDriver * | smiDriver |
| SMI driver. More... | |
| MacAddr | macAddr |
| Link-layer address. More... | |
| MacFilterEntry | macAddrFilter [MAC_ADDR_FILTER_SIZE] |
| MAC filter table. More... | |
| bool_t | promiscuous |
| Promiscuous mode. More... | |
| bool_t | acceptAllMulticast |
| Accept all frames with a multicast destination address. More... | |
| uint16_t | vlanId |
| VLAN identifier (802.1Q) More... | |
| uint16_t | vmanId |
| VMAN identifier (802.1ad) More... | |
| LlcRxCallback | llcRxCallback |
| LLC frame received callback (802.2) More... | |
| void * | llcRxParam |
| Callback parameter. More... | |
| uint8_t | port |
| Switch port identifier. More... | |
| NetInterface * | parent |
| Interface on top of which the virtual interface runs. More... | |
| Ipv4Context | ipv4Context |
| IPv4 context. More... | |
| bool_t | enableArp |
| Enable address resolution using ARP. More... | |
| systime_t | arpReachableTime |
| ARP reachable time. More... | |
| systime_t | arpProbeTimeout |
| ARP probe timeout. More... | |
| ArpCacheEntry | arpCache [ARP_CACHE_SIZE] |
| ARP cache. More... | |
| IgmpHostContext | igmpHostContext |
| IGMP host context. More... | |
| IgmpRouterContext * | igmpRouterContext |
| IGMP router context. More... | |
| IgmpSnoopingContext * | igmpSnoopingContext |
| IGMP snooping switch context. More... | |
| AutoIpContext * | autoIpContext |
| Auto-IP context. More... | |
| DhcpClientContext * | dhcpClientContext |
| DHCP client context. More... | |
| DhcpServerContext * | dhcpServerContext |
| DHCP server context. More... | |
| Ipv6Context | ipv6Context |
| IPv6 context. More... | |
| NdpContext | ndpContext |
| NDP context. More... | |
| NdpRouterAdvContext * | ndpRouterAdvContext |
| RA service context. More... | |
| MldNodeContext | mldNodeContext |
| MLD node context. More... | |
| SlaacContext * | slaacContext |
| SLAAC context. More... | |
| Dhcpv6ClientContext * | dhcpv6ClientContext |
| DHCPv6 client context. More... | |
| MdnsResponderContext * | mdnsResponderContext |
| mDNS responder context More... | |
| DnsSdResponderContext * | dnsSdResponderContext |
| DNS-SD responder context. More... | |
| PppContext * | pppContext |
| PPP context. More... | |
Detailed Description
Field Documentation
◆ acceptAllMulticast
| bool_t acceptAllMulticast |
◆ adminLinkState
| NicLinkState adminLinkState |
◆ arpCache
| ArpCacheEntry arpCache[ARP_CACHE_SIZE] |
◆ arpProbeTimeout
◆ arpReachableTime
◆ autoIpContext
| AutoIpContext* autoIpContext |
◆ configured
◆ dhcpClientContext
| DhcpClientContext* dhcpClientContext |
◆ dhcpServerContext
| DhcpServerContext* dhcpServerContext |
◆ dhcpv6ClientContext
| Dhcpv6ClientContext* dhcpv6ClientContext |
◆ dnsSdResponderContext
| DnsSdResponderContext* dnsSdResponderContext |
◆ duplexMode
| NicDuplexMode duplexMode |
◆ enableArp
◆ eui64
◆ extIntDriver
| const ExtIntDriver* extIntDriver |
◆ hostname
| char_t hostname[NET_MAX_HOSTNAME_LEN+1] |
◆ id
◆ igmpHostContext
| IgmpHostContext igmpHostContext |
◆ igmpRouterContext
| IgmpRouterContext* igmpRouterContext |
◆ igmpSnoopingContext
| IgmpSnoopingContext* igmpSnoopingContext |
◆ index
◆ initialRto
◆ ipv4Context
| Ipv4Context ipv4Context |
◆ ipv6Context
| Ipv6Context ipv6Context |
◆ linkSpeed
◆ linkState
◆ llcRxCallback
| LlcRxCallback llcRxCallback |
◆ llcRxParam
◆ macAddr
◆ macAddrFilter
| MacFilterEntry macAddrFilter[MAC_ADDR_FILTER_SIZE] |
◆ mdnsResponderContext
| MdnsResponderContext* mdnsResponderContext |
◆ mldNodeContext
| MldNodeContext mldNodeContext |
◆ name
| char_t name[NET_MAX_IF_NAME_LEN+1] |
◆ ndpContext
| NdpContext ndpContext |
◆ ndpRouterAdvContext
| NdpRouterAdvContext* ndpRouterAdvContext |
◆ nicContext
| uint8_t nicContext[NIC_CONTEXT_SIZE] |
◆ nicDriver
◆ nicEvent
◆ nicTxEvent
◆ parent
| NetInterface* parent |
◆ phyAddr
◆ phyDriver
◆ phyEvent
◆ port
◆ pppContext
| PppContext* pppContext |
◆ promiscuous
◆ slaacContext
| SlaacContext* slaacContext |
◆ smiDriver
◆ spiDriver
◆ switchDriver
| const SwitchDriver* switchDriver |
◆ uartDriver
| const UartDriver* uartDriver |
◆ vlanId
◆ vmanId
The documentation for this struct was generated from the following file:
- cyclone_tcp/core/net.h
