cloudflared-mirror/vendor/github.com/miekg/dns/internal/socket/cmsghdr.go

8 lines
186 B
Go

// +build linux
package socket
func (h *cmsghdr) len() int { return int(h.Len) }
func (h *cmsghdr) lvl() int { return int(h.Level) }
func (h *cmsghdr) typ() int { return int(h.Type) }