Skip to main content

Module ffi

Module ffi 

Source

Structs§

FStackTcpListener
FStackUdpSocket
TcpMessage
TcpSocketOptionsFfi
Flat representation of TcpSocketOptions for the cxx bridge. -1 means “not set / use default”. 0 = false, 1 = true for booleans.
UdpMessage

Functions§

create_tcp_listener
create_udp_socket
init_fstack
config_args is passed to ff_load_config (e.g. ["teto", "--conf", "config.ini"]). eal_args is injected into dpdk_argv before ff_dpdk_init (e.g. ["--no-pci"]).
run_fstack
run_fstack_tcp
set_tcp_tick_callback
Register a callback invoked on every F-Stack TCP poll iteration, before accept/read. Used by teto-tokio to drain the write command queue.
set_udp_tick_callback
Register a callback invoked on every F-Stack UDP poll iteration, before read. Used by teto-tokio to drain the send command queue.