code wiki / (root) / nx_routing_research.nx

nx_routing_research.nx

buildroot/runtime/nx_routing_research.nx

2471 B33 linesdepth 24pulls 155 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_routing_research.nx -- THIN SOTA research for S-CLASS-EXCEED, DATA-DRIVEN HTTP ROUTING / reverse-proxy / ingress (operator 2026-06-29: "fix all this hardcoding and tight coupling especially on routing ... get it to s class exceed, don't just work with the garbage f-level stuff"). The live sites.elf bakes routes into a HARDCODED cascade (a route can silently vanish; every change = a binary rebuild; the daemons diverged). The SOTA (nginx/Envoy/HAProxy/Traefik/k8s-Ingress) is DATA-DRIVEN: routes are config, matched by precise rules (host vhosting + SNI + longest-prefix + boundary-safe). Bank the bar so the sovereign route table is MEASURED- exceed, never asserted. COMPOSES nx_research_engine. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_research_engine.nx nx_routing_research.nx

imports: nx_research_engine.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main rf_init nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_length x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add

structs

none

consts

9const K_MAGIC_8388608: i64 = 8388608

functions

11func main() -> i64