code wiki / _hdl_build / nx_route_ctl_gate.nx
nx_route_ctl_gate.nx
buildroot/runtime/_hdl_build/nx_route_ctl_gate.nx
about
nx_route_ctl_gate.nx -- proves the API-pure route-control primitives (md_route_valid + md_route_append) BEFORE
they can touch the live edge proxy table. NEVER-BRICK RELEVANT: a malformed proxy_routes.conf row is edge-wide,
so validation is fail-closed by construction and the upsert must preserve every UNRELATED row. Exercised only
against a /tmp fixture -- never the real proxy_routes.conf. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_mgmt_data.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 7 | func rg_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 8 | func rg_wn(v: i64) -> i64 { let b: *u8 = sys_mmap(32); let o: i64 = md_catn(b, 0, v); b[o] = 10 as u8; sys_write(1, b, o + 1); return 0 } |
| 11 | func rg_eq(name: *u8, got: i64, want: i64) -> i64 |
| 16 | func rg_seed(path: *u8, s: *u8) -> i64 calls 1: sys_openat_wr |
| 25 | func rg_countlines(buf: *u8, n: i64) -> i64 called by 1: rg_lines |
| 31 | func rg_has(path: *u8, needle: *u8) -> i64 |
| 40 | func rg_lines(path: *u8) -> i64 |
| 48 | func main(argc: i64, argv: *i64) -> i64 |