Livt packages

Livt.Net

Version 1.4.1

Ethernet, IPv4, TCP, UDP, ARP, TFTP, and Telnet networking components for Livt hardware.

Published files (163)

src/ethernet/IEthernetPayload.lvt

namespace Livt.Net

/**
 * Capability identifying an Ethernet II payload's EtherType.
 */
interface IEthernetPayload
{
	// Standard EtherTypes shared by envelopes, services and protocol recognition.
	public const ETHER_TYPE_IPV4: int = 0x0800
	public const ETHER_TYPE_ARP: int = 0x0806

	/**
	 * Returns the Ethernet II EtherType identifying this payload, independent of readiness.
	 */
	fn GetEtherType() int
}