The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
netif Struct Reference

#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/kernel/net/netif.h>

Data Fields

char name [NETIF_NAME_MAX]
uint8_t mac [ETH_ADDR_LEN]
uint32_t mtu
bool loopback
netif_send_fn send
void * driver
uint32_t address
uint32_t netmask
uint32_t gateway
uint64_t rx_packets
uint64_t rx_bytes
uint32_t rx_dropped
uint64_t tx_packets
uint64_t tx_bytes
uint32_t tx_dropped

Field Documentation

◆ name

char netif::name[NETIF_NAME_MAX]

◆ mac

uint8_t netif::mac[ETH_ADDR_LEN]

◆ mtu

uint32_t netif::mtu

◆ loopback

bool netif::loopback

◆ send

netif_send_fn netif::send

◆ driver

void* netif::driver

◆ address

uint32_t netif::address

◆ netmask

uint32_t netif::netmask

◆ gateway

uint32_t netif::gateway

◆ rx_packets

uint64_t netif::rx_packets

◆ rx_bytes

uint64_t netif::rx_bytes

◆ rx_dropped

uint32_t netif::rx_dropped

◆ tx_packets

uint64_t netif::tx_packets

◆ tx_bytes

uint64_t netif::tx_bytes

◆ tx_dropped

uint32_t netif::tx_dropped

The documentation for this struct was generated from the following file: