summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/udp_other.go
blob: 531f4ebcc7567d301bcd7aef34abc77567abe152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +build !linux appengine

package dns

import (
	"net"
)

// These do nothing. See udp_linux.go for an example of how to implement this.

// We tried to adhire to some kind of naming scheme.
func setUDPSocketOptions(conn *net.UDPConn) error              { return nil }
func setUDPSocketOptions4(conn *net.UDPConn) error             { return nil }
func setUDPSocketOptions6(conn *net.UDPConn) error             { return nil }
func getUDPSocketOptions6Only(conn *net.UDPConn) (bool, error) { return false, nil }
func parseUDPSocketDst(oob []byte) (net.IP, error)             { return nil, nil }
func marshalUDPSocketSrc(src net.IP) []byte                    { return nil }