summaryrefslogtreecommitdiff
path: root/module/ether.m
blob: a68f8c7bc722debb1aec277554693b9a3b116490 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
};