mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-03-31 10:47:35 +03:00
21 lines
451 B
Go
21 lines
451 B
Go
//go:build !darwin && !linux && !freebsd && !windows
|
|
|
|
package quic
|
|
|
|
import (
|
|
"net"
|
|
"net/netip"
|
|
)
|
|
|
|
func newConn(c net.PacketConn, supportsDF bool) (*basicConn, error) {
|
|
return &basicConn{PacketConn: c, supportsDF: supportsDF}, nil
|
|
}
|
|
|
|
func inspectReadBuffer(any) (int, error) { return 0, nil }
|
|
func inspectWriteBuffer(any) (int, error) { return 0, nil }
|
|
|
|
type packetInfo struct {
|
|
addr netip.Addr
|
|
}
|
|
|
|
func (i *packetInfo) OOB() []byte { return nil }
|