code wiki / (root) / nx_dns_authoritative_test.nx

nx_dns_authoritative_test.nx

buildroot/runtime/nx_dns_authoritative_test.nx

8710 B235 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic dns
docsdependenciesstructsconstsfunctions

about

nx_dns_authoritative_test.nx -- smoke for authoritative DNS. Covers: 1. Verdict + RCODE enum gates 2. Zone init + add_a + lookup 3. ASCII name decode from wire format 4. Response build for NOERROR (A record) verifying wire bytes 5. Response build for NXDOMAIN 6. Top-level serve_query end-to-end expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_dns_authoritative.nx nx_dns_authoritative_test.nx

imports: nx_syscalls_x86_64.nxnx_dns_authoritative.nx

imported by: nobody (leaf or entry point)

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

main nxda_verdict_is_valid bytes_eq nxda_verdict_name nx_dns_zone_init nx_dns_zone_add_a nx_dns_zone_lookup_a nx_dns_decode_name_ascii nx_dns_build_response nx_dns_get_u16_be nx_dns_put_u16_be nx_dns_serve_query nx_dns_get_u16_be ↻ nx_dns_build_response ↻ nx_dns_decode_name_ascii ↻ nx_dns_zone_lookup_a ↻

structs

none

consts

none

functions

18func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 1: main
27func main() -> i64