package
0.0.0-20240324055704-98eb0bbfdd43
Repository: https://github.com/coderluoyi/tun2socks_stu.git
Documentation: pkg.go.dev
# Functions
WithDefault sets all default values for stack.
WithDefaultTTL sets the default TTL used by stack.
WithForwarding sets packet forwarding between NICs for IPv4 & IPv6.
WithICMPBurst sets the number of ICMP messages that can be sent in a single burst.
WithICMPLimit sets the maximum number of ICMP messages permitted by rate limiter.
WithTCPCongestionControl sets the current congestion control algorithm.
WithTCPDelay enables or disables Nagle's algorithm in TCP.
WithTCPModerateReceiveBuffer sets receive buffer moderation for TCP.
WithTCPReceiveBufferSize sets the default receive buffer size for TCP.
WithTCPReceiveBufferSizeRange sets the receive buffer size range for TCP.
WithTCPRecovery sets the recovery option for TCP.
WithTCPSACKEnabled sets the SACK option for TCP.
WithTCPSendBufferSize sets default the send buffer size for TCP.
WithTCPSendBufferSizeRange sets the send buffer size range for TCP.
# Type aliases
No description provided by the author