87eb8a0121
Library API (new public headers): - include/librist/tun.h: cross-platform TUN device management (rist_tun_open/close/read/write/set_ip/set_mtu/bring_up) - include/librist/tunnel.h: data_fd forwarding API (rist_sender_data_fd_set, rist_receiver_data_fd_set, rist_data_fd_stats_get) - RIST_DATA_FD_FLAG_TUN flag for TUN-aware read/write framing When data_fd is set on a sender, librist spawns an internal thread that reads from the fd and feeds packets into the RIST sender. When set on a receiver, received data is written directly to the fd from librist's output thread — zero application code in the data path. TUN device support moved from tools/ into the library (src/tun_*.c) with rist_tun_* naming. Platforms: macOS (utun), Linux (/dev/net/tun), Windows (stub). Tool updates: - risttunnel: rewritten to use data_fd API — no forwarding loop needed - ristsender/ristreceiver: USE_TUN removed, now always cross-platform using rist_tun_* API instead of Linux-only oob_setup_tun_device
14 lines
723 B
Meson
14 lines
723 B
Meson
option('static_analyze', type : 'boolean', value : false)
|
|
option('test', type : 'boolean', value : true)
|
|
#option('builtin_lz4', type: 'boolean', value: false)
|
|
option('builtin_cjson', type: 'boolean', value: false)
|
|
option('builtin_mbedtls', type: 'boolean', value: false)
|
|
option('built_tools', type: 'boolean', value: true)
|
|
option('fallback_builtin', type: 'boolean', value: true)
|
|
option('use_mbedtls', type: 'boolean', value: true)
|
|
option('use_nettle', type: 'boolean', value: false)
|
|
option('use_gnutls', type: 'boolean', value: false)
|
|
option('have_mingw_pthreads', type: 'boolean', value: false)
|
|
option('allow_insecure_iv_fallback', type: 'boolean', value: false)
|
|
option('allow_obj_filter', type: 'boolean', value: false)
|