Module netboot

Source
Expand description

Netboot messaging types.

The Netboot protocol is used to issue commands and discover netsvc nodes.

Note: There’s not an RFC or standard for this protocol, as it has evolved over time with the netsvc code. The closest to an authoritative source is the netsvc source code in //src/bringup/bin/netsvc.

Structs§

ErrorValue
A witness type for error values observed from the netboot protocol.
NetbootPacket
A netboot packet.
NetbootPacketBuilder
A [PacketBuilder] for the netboot protocol.

Enums§

ErrorCode
Protocol errors.
Opcode
Operations accepted by netboot servers.
OpcodeOrErr
Part of a netboot message’s preamble.
ParseError
Error parsing a netboot message.

Constants§

ADVERT_PORT
The UDP port multicast advertisements are sent to.
SERVER_PORT
The UDP port a netboot server listens on.