github.com/sagernet/wireguard-go@v0.0.0-20231215174105-89dec3b2f3e8/conn/features_default.go (about)

     1  //go:build !linux
     2  // +build !linux
     3  
     4  /* SPDX-License-Identifier: MIT
     5   *
     6   * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
     7   */
     8  
     9  package conn
    10  
    11  import "net"
    12  
    13  func supportsUDPOffload(conn *net.UDPConn) (txOffload, rxOffload bool) {
    14  	return
    15  }