Add netns support

This commit is contained in:
世界
2025-03-18 14:21:08 +08:00
parent e8499452f8
commit d2dc3ddf72
16 changed files with 221 additions and 100 deletions

View File

@@ -68,6 +68,7 @@ type ListenOptions struct {
UDPFragment *bool `json:"udp_fragment,omitempty"`
UDPFragmentDefault bool `json:"-"`
UDPTimeout UDPTimeoutCompat `json:"udp_timeout,omitempty"`
NetNs string `json:"netns,omitempty"`
// Deprecated: removed
ProxyProtocol bool `json:"proxy_protocol,omitempty"`