Skip to main content

start

Function start 

Source
pub fn start(host_fd: RawFd, config: ProxyConfig) -> Result<ProxyHandle>
Expand description

Start the proxy engine. Returns a handle that keeps it running.

  • host_fd: the host end of the socketpair (raw L2 Ethernet frames)
  • config: proxy configuration (secrets, network rules)