shithub: purgatorio

ref: f8935b5778397074d41a48205e5c7f87d7b531fe
dir: purgatorio/module/ether.m

View raw version
Ether: module
{
	PATH:	con "/dis/lib/ether.dis";
	Eaddrlen:	con 6;

	init:	fn();
	parse:	fn(s: string): array of byte;
	text:	fn(a: array of byte): string;
	addressof:	fn(dev: string): array of byte;
	eqaddr:	fn(a, b: array of byte): int;
};