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/services/AcceptAllFrames.lvt

namespace Livt.Net

/**
 * Default admission strategy; protocol handlers still enforce their own bounds
 * and endpoint checks. No state or request bytes are retained here.
 */
component AcceptAllFrames : IFrameAcceptance
{
	/**
	 * Allows the service to validate every structurally readable Ethernet header.
	 */
	override fn Accept(sourceMac: byte[6], etherType: int) bool
	{
		return true
	}
}