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/ipv4/IIpv4Payload.lvt
namespace Livt.Net
/**
* Capability identifying an IPv4 payload's protocol number.
*/
interface IIpv4Payload
{
// On-wire protocol identifiers shared by recognition and response preparation.
public const PROTOCOL_ICMP: byte = 0x01
public const PROTOCOL_TCP: byte = 0x06
public const PROTOCOL_UDP: byte = 0x11
/**
* Returns the IPv4 protocol number identifying this payload, independent of readiness.
*/
fn GetProtocol() int
}