nx_http_server.nx
buildroot/runtime/nx_http_server.nx
about
dependencies 2 imports · 71 importers
diagram shows first 10 each side; +0 more imports, +61 more importers in the complete lists below.
imports: nx_syscalls.nxnx_http_io.nx
imported by: nx_andelinwest_daemon.nxnx_archive_daemon.nxnx_audit_server_daemon.nxnx_audit_server_main.nxnx_audit_server_routed.nxnx_aw_devserver.nxnx_aw_mtls_proxy.nxnx_aw_tlsproxy.nxnx_browser_view_serve.nxnx_clean_serve_daemon.nxnx_cleanwatch_serve.nxnx_cloexec_gate.nxnx_crawl_main.nxnx_dev_api_serve.nxnx_dist_serve.nxnx_edge_daemon.nxnx_fin_serve.nxnx_gdbstub.nxnx_gdbstub_gate.nxnx_gpu_capture_http_lib.nxnx_hotlisten_gate.nxnx_http_redirect_daemon.nxnx_http_server_test.nxnx_inventory_serve.nxnx_iot_hub_serve.nxnx_listener_census_gate.nxnx_math_serve.nxnx_mcp_body_gate.nxnx_media_server.nxnx_media_sniff_daemon.nxnx_mock_web.nxnx_motion_serve.nxnx_mtls_test_daemon.nxnx_pages_daemon.nxnx_pages_http_redirect.nxnx_pages_https_daemon.nxnx_portcheck_staged_cli_gate.nxnx_search_crawl_server.nxnx_search_server.nxnx_serve_roadmap.nxnx_sigpipe_gate.nxnx_sitegen_studio_daemon.nxnx_sites_daemon.nxnx_sites_daemon_v2.nxnx_sites_sni_cert_gate.nxnx_sni_router.nxnx_sni_router_gate.nxnx_socket_holder_observation_gate.nxnx_sovgit_git.nxnx_sovgit_serve.nxnx_status_daemon.nxnx_survey_daemon.nxnx_survey_handoff_gate.nxnx_tls13_ed25519_test_daemon.nxnx_tools_api_serve.nxnx_toolsapi_bodycap_gate.nxnx_torrent_daemon.nxnx_translate_daemon.nxnx_ts_handoff_gate.nxnx_ts_slot_lib.nxnx_ts_slot_router_gate.nxnx_ui_serve.nxnx_vroom_daemon.nxnx_wiki_doc_handler.nxnx_wiki_https_daemon.nxnx_wiki_https_daemon_mv.nxnx_wiki_main.nxnx_wiki_routes.nxnx_world_telemetry.nxnx_world_telemetry_gpu_candidate.nxnx_world_telemetry_v2_candidate.nx
structs
| none |
consts
| 68 | const NXS_MAGIC_65535: i64 = 65535 |
| 72 | const NXS_OK: i64 = 0 |
| 73 | const NXS_SOCKET_ERR: i64 = 1 |
| 74 | const NXS_BIND_ERR: i64 = 2 |
| 75 | const NXS_LISTEN_ERR: i64 = 3 |
| 76 | const NXS_ACCEPT_ERR: i64 = 4 |
| 77 | const NXS_PARSE_ERR: i64 = 5 |
| 78 | const NXS_WRITE_ERR: i64 = 6 |
| 79 | const NXS_BAD_ARG: i64 = 7 |
| 84 | const NXS_SHORT_BODY: i64 = 8 |
| 85 | const NXS_VERDICT_N: i64 = 9 |
| 165 | const AF_INET_CONST: i64 = 2 |
| 265 | const SO_REUSEPORT_CONST: i64 = 15 |
| 330 | const TS_RV_BACKLOG: i64 = 8 |
functions
| 87 | func nxs_verdict_is_valid(v: i64) -> i64 called by 1: main |
| 93 | func nxs_verdict_name(v: i64) -> *u8 |
| 120 | func nx_http_server_make_sockaddr(out: *u8, port_host_order: i64, |
| 146 | func nx_http_server_addr_loopback(out: *u8, port: i64) -> i64 |
| 152 | func nx_http_server_addr_any(out: *u8, port: i64) -> i64 |
| 167 | func nx_http_server_listen(addr_bytes: *u8, backlog: i64, called by 52: mainmainmainmainmainmain+46 calls 7: sys_ignore_sigpipesys_socketsys_mmapsys_setsockoptsys_bindsys_close+1 |
| 266 | func nx_http_server_listen_hot(addr_bytes: *u8, backlog: i64, called by 3: mainmaintsv_serve calls 7: sys_ignore_sigpipesys_socketsys_mmapsys_setsockoptsys_bindsys_close+1 |
| 333 | func ts_handoff_open(sock_path: *u8, out_verdict: *i64) -> i64 |
| 346 | func ts_handoff_publish(rv_fd: i64, listen_fd: i64, out_verdict: *i64) -> i64 |
| 359 | func ts_handoff_acquire(sock_path: *u8, out_verdict: *i64) -> i64 |
| 377 | func ts_handoff_nodrop(sock_path: *u8, addr_bytes: *u8, backlog: i64, |
| 393 | func nx_http_server_read_request(client_fd: i64, |
| 444 | func nx_http_server_send_response(client_fd: i64, |
| 460 | func nx_http_server_send_response_nokeep_close( |
| 475 | func nx_http_server_accept_one(listen_fd: i64, out_verdict: *i64) -> i64 |