nx_iot_kasa_win.nx
buildroot/runtime/nx_iot_kasa_win.nx
about
nx_iot_kasa_win.nx -- Pairs or probes Kasa bulbs via TCP/9999 using autokey-XOR encryption and credentials from a local file.
dependencies 0 imports · 0 importers
imports: none
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 2 | const K_MAGIC_9999: i64 = 9999 |
| 3 | const K_MAGIC_2048: i64 = 2048 |
| 4 | const K_MAGIC_4096: i64 = 4096 |
functions
| 22 | func sys_mmap(n: i64) -> i64 { return 0 } called by 1: main |
| 23 | func nx_wsa() -> i64 { return 0 } called by 1: main |
| 24 | func nx_sock() -> i64 { return 0 } called by 1: main |
| 25 | func nx_connect(s: i64, port: i64) -> i64 { return 0 } called by 1: main |
| 26 | func nx_send(c: i64, buf: *u8, n: i64) -> i64 { return 0 } called by 1: main |
| 27 | func nx_recv(c: i64, buf: *u8, n: i64) -> i64 { return 0 } called by 1: main |
| 28 | func nx_close(s: i64) -> i64 { return 0 } called by 1: main |
| 29 | func nx_fopen(path: *u8) -> i64 { return 0 } called by 1: main |
| 30 | func nx_fread(h: i64, buf: *u8, n: i64) -> i64 { return 0 } called by 1: main |
| 33 | func k_enc(plain: *u8, n: i64, out: *u8) -> i64 called by 1: k_frame |
| 44 | func k_dec(cipher: *u8, n: i64, out: *u8) -> i64 called by 1: main |
| 56 | func k_puts(out: *u8, off: i64, s: *u8) -> i64 called by 1: main |
| 63 | func k_frame(plain: *u8, n: i64, out: *u8) -> i64 |
| 73 | func k_find(buf: *u8, len: i64, pat: *u8, pat_len: i64) -> i64 called by 1: main |
| 92 | func main() -> i64 |