Documentation
¶
Index ¶
- Constants
- func DialTCP(network string, laddr, raddr *net.TCPAddr) (*net.TCPConn, error)
- func DialUDP(network string, laddr, raddr *net.UDPAddr) (*net.UDPConn, error)
- func ListenUDP(network string, laddr *net.UDPAddr) (*net.UDPConn, error)
- func NewDialer() *net.Dialer
- func NewListener() *net.ListenConfig
- func SetRawSocketMark(conn syscall.RawConn) error
- func SetSocketMark(conn syscall.Conn) error
Constants ¶
View Source
const (
// NetbirdFwmark is the fwmark value used by Netbird via wireguard
NetbirdFwmark = 0x1BD00
)
Variables ¶
This section is empty.
Functions ¶
func NewListener ¶
func NewListener() *net.ListenConfig
func SetRawSocketMark ¶
func SetSocketMark ¶
SetSocketMark sets the SO_MARK option on the given socket connection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.