summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/internal/socket/cmsghdr_other.go
blob: 8078487c8ace6b149c21ee23c862d1d2edeac289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// +build !linux

package socket

type cmsghdr struct{}

const sizeofCmsghdr = 0

func (h *cmsghdr) len() int { return 0 }
func (h *cmsghdr) lvl() int { return 0 }
func (h *cmsghdr) typ() int { return 0 }

func (h *cmsghdr) set(l, lvl, typ int) {}