feat(core): event queue, Ethernet, switch, ARP, IPv4, ICMP, routing and firewall

First slice of the TypeScript port of the filius-ipad runtime engine,
with 29 tests ported from the Swift suite. Parts not ported yet throw
NotPortedError instead of guessing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 19:22:57 +00:00
co-authored by Claude Opus 5.5
parent 7caee33b3d
commit 696334aa5a
29 changed files with 6199 additions and 11 deletions
+13
View File
@@ -0,0 +1,13 @@
// Public surface of the simulation core.
export * from './ids.js';
export * from './model/node.js';
export * from './runtime/config.js';
export * from './runtime/engine.js';
export * from './runtime/ipv4.js';
export * from './runtime/packets.js';
export * from './runtime/random.js';
export * from './runtime/routeTable.js';
export * from './runtime/snapshot.js';
export * from './runtime/speed.js';
export * from './runtime/trace.js';
export * from './util/equal.js';