// nat_transport.h — NAT transport layer (TUN + ETCP protocol handling) #ifndef NAT_TRANSPORT_H #define NAT_TRANSPORT_H #include struct tun_if; struct ETCP_CONN; struct nat_transport_ctx { uint64_t self_node_id; uint64_t nat_via_node_id; struct tun_if* nat_tun; int initialized; }; struct UTUN_INSTANCE; int nat_transport_init(struct UTUN_INSTANCE* inst); void nat_transport_destroy(struct UTUN_INSTANCE* inst); #endif