Retro Rocket Kernel BASIC-Powered Operating System

Public Attributes | List of all members
netdev Struct Reference

An ethernet network device, this relates directly to a physical network card in the machine. A device may have zero or more attached protocols, each protocol intercepts an ethernet id number. Where a protocol requires another protocol to be of use, e.g. ARP with IPv4, the dependency will be added automatically by other protocols that require it. More...

Collaboration diagram for netdev:
[legend]

## Public Attributes
char | name [16]
char * | description
uint16_t | speed
uint8_t | flags
uint16_t | mtu
uint8_t | num_netprotos
netproto_t * | netproto

## Detailed Description

An ethernet network device, this relates directly to a physical network card in the machine. A device may have zero or more attached protocols, each protocol intercepts an ethernet id number. Where a protocol requires another protocol to be of use, e.g. ARP with IPv4, the dependency will be added automatically by other protocols that require it.

## Member Data Documentation

## ◆ description

char* netdev::description

## ◆ flags

uint8_t netdev::flags

## ◆ mtu

uint16_t netdev::mtu

## ◆ name

char netdev::name[16]

## ◆ netproto

netproto_t* netdev::netproto

## ◆ num_netprotos

uint8_t netdev::num_netprotos

## ◆ speed

uint16_t netdev::speed