23#if DETWS_ENABLE_TELNET
29#if DETWS_ENABLE_MODBUS
47#if DETWS_ENABLE_TELNET
53#if DETWS_ENABLE_MODBUS
ConnProto
Application protocol spoken on a listener port or connection slot.
@ PROTO_HTTP
HTTP/1.1 with optional WS and SSE upgrades.
@ PROTO_OPCUA
OPC UA Binary (UA-TCP) server.
@ PROTO_TELNET
Telnet (RFC 854).
@ PROTO_MODBUS
Modbus TCP slave (Modbus Application Protocol).
@ PROTO_SSH
SSH (RFC 4253/4252/4254).
Zero-heap Modbus TCP slave/server (Modbus Application Protocol v1.1b3).
OPC UA Binary server: handshake + SecureChannel + Session + Read/Write + Browse (DETWS_ENABLE_OPCUA).
const ProtoHandler * http_proto_handler(void)
Layer 6 (Presentation) - wires the transport ring buffer to the HTTP parser.
void proto_register_builtins(void)
Register every built-in protocol's handler (the policy list).
Layer 5 (Session) - per-protocol connection handler dispatch table.
void proto_register(ConnProto proto, const ProtoHandler *h)
Register h for protocol proto (replaces any previous handler).
const ProtoHandler * ssh_proto_handler(void)
Glue between the TCP transport (conn_pool) and the SSH protocol stack.
Per-protocol connection event/poll callbacks (Layer 5 dispatch vtable).
Layer 6/7 - minimal RFC 854 Telnet server (DETWS_ENABLE_TELNET).