nx_ice_check_gate.nx
buildroot/runtime/nx_ice_check_gate.nx
about
nx_ice_check_gate.nx -- proves the ICE connectivity-CHECK EXCHANGE end to end:
PART A (pure): a check request built with an ICE password verifies its MESSAGE-INTEGRITY under that
password and FAILS under a wrong one (the auth is real, not decorative); FINGERPRINT self-consistent;
USE-CANDIDATE detected; a success response built with the password verifies too.
PART B (LIVE, real UDP): two sovereign endpoints run a full check -- controlling A sends a check request,
controlled B validates it under the shared password and answers with a success response carrying A's
reflexive address, and A validates that response. This is how two Nishi peers confirm a working path.
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_ice.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
| 23 | const CK_SPORT: i64 = 53240 |
functions
| 12 | func gw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func gn(v: i64) -> i64 |
| 18 | func gck(pass: i64, name: *u8, fails: *i64) -> i64 |
| 25 | func main() -> i64 |