mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 05:49:07 +02:00
28 lines
811 B
Go
28 lines
811 B
Go
package wgbackend
|
|
|
|
import "github.com/netbirdio/wireguard-go/conn"
|
|
|
|
type (
|
|
BatchReader = conn.BatchReader
|
|
Bind = conn.Bind
|
|
Endpoint = conn.Endpoint
|
|
ReceiveFunc = conn.ReceiveFunc
|
|
StdNetBind = conn.StdNetBind
|
|
StdNetEndpoint = conn.StdNetEndpoint
|
|
)
|
|
|
|
const (
|
|
IdealBatchSize = conn.IdealBatchSize
|
|
UdpSegmentMaxDatagrams = conn.UdpSegmentMaxDatagrams
|
|
)
|
|
|
|
var (
|
|
ControlFns = conn.ControlFns
|
|
GetGSOSize = conn.GetGSOSize
|
|
GetSrcFromControl = conn.GetSrcFromControl
|
|
NewDefaultBind = conn.NewDefaultBind
|
|
NewStdNetBind = conn.NewStdNetBind
|
|
NewStdNetBindWithReceiverCreator = conn.NewStdNetBindWithReceiverCreator
|
|
SplitCoalescedMessages = conn.SplitCoalescedMessages
|
|
)
|