Retro Rocket Kernel BASIC-Powered Operating System

Data Fields
netproto_t Struct Reference

Represents a protocol, or group of related protocols, that can be attached to an interface and can have addresses. At present only ethernet devices are supported, this covers 99% of the scenarios we might see in the wild on consumer machines. More...

`#include <net.h>`

Collaboration diagram for netproto_t:
[legend]

## Data Fields
char | name [16]
uint16_t | ethernet_protocol_id
uint16_t | num_addresses
net_address_t * | addresses

## Detailed Description

Represents a protocol, or group of related protocols, that can be attached to an interface and can have addresses. At present only ethernet devices are supported, this covers 99% of the scenarios we might see in the wild on consumer machines.

## Field Documentation

## ◆ addresses

net_address_t* netproto_t::addresses

## ◆ ethernet_protocol_id

uint16_t netproto_t::ethernet_protocol_id

## ◆ name

char netproto_t::name[16]

## ◆ num_addresses

uint16_t netproto_t::num_addresses