code wiki / (root) / nx_nft_read_gate.nx

nx_nft_read_gate.nx

buildroot/runtime/nx_nft_read_gate.nx

1806 B30 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

Native contract regression for the Linux x86-64 legacy NAT table reader. Fixture fields follow the kernel UAPI; this never opens a socket or mutates networking.

dependencies 2 imports · 0 importers

nx_nft_read.nx nx_gate_verdict.nx nx_nft_read_gate.nx

imports: nx_nft_read.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ng_fixture ng_u16 gv_check_eq gv_check gv_puts sys_write ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap nr_validate nr_u16 ng_u16 ↻ gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num ↻ gv_puts ↻

structs

none

consts

none

functions

5func ng_u16(b:*u8,o:i64,v:i64)->i64 { b[o]=(v&255) as u8; b[o+1]=((v>>8)&255) as u8; return 0 }
called by 2: ng_fixturemain
6func ng_fixture()->*u8
called by 1: main calls 1: ng_u16
12func main()->i64