diff options
author | Tyler Davis <tydavis@gmail.com> | 2018-02-28 23:00:21 +0000 |
---|---|---|
committer | Tyler Davis <tydavis@gmail.com> | 2018-02-28 23:00:21 +0000 |
commit | 0e8a5cebd8548bfe95c5c7808da7da0f651f0c3a (patch) | |
tree | 469486208835d832e16940bac58a06f32bd723d8 /vendor/golang.org/x/net/ipv4/defs_netbsd.go | |
parent | 93b7b9300254e80dc7b17556b5d6a8b7d7e9607a (diff) | |
download | dnstracker-0e8a5cebd8548bfe95c5c7808da7da0f651f0c3a.tar.gz dnstracker-0e8a5cebd8548bfe95c5c7808da7da0f651f0c3a.zip |
Add dependencies
Diffstat (limited to 'vendor/golang.org/x/net/ipv4/defs_netbsd.go')
-rw-r--r-- | vendor/golang.org/x/net/ipv4/defs_netbsd.go | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/ipv4/defs_netbsd.go b/vendor/golang.org/x/net/ipv4/defs_netbsd.go new file mode 100644 index 0000000..8f8af1b --- /dev/null +++ b/vendor/golang.org/x/net/ipv4/defs_netbsd.go @@ -0,0 +1,37 @@ +// Copyright 2014 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build ignore + +// +godefs map struct_in_addr [4]byte /* in_addr */ + +package ipv4 + +/* +#include <netinet/in.h> +*/ +import "C" + +const ( + sysIP_OPTIONS = C.IP_OPTIONS + sysIP_HDRINCL = C.IP_HDRINCL + sysIP_TOS = C.IP_TOS + sysIP_TTL = C.IP_TTL + sysIP_RECVOPTS = C.IP_RECVOPTS + sysIP_RECVRETOPTS = C.IP_RECVRETOPTS + sysIP_RECVDSTADDR = C.IP_RECVDSTADDR + sysIP_RETOPTS = C.IP_RETOPTS + sysIP_RECVIF = C.IP_RECVIF + sysIP_RECVTTL = C.IP_RECVTTL + + sysIP_MULTICAST_IF = C.IP_MULTICAST_IF + sysIP_MULTICAST_TTL = C.IP_MULTICAST_TTL + sysIP_MULTICAST_LOOP = C.IP_MULTICAST_LOOP + sysIP_ADD_MEMBERSHIP = C.IP_ADD_MEMBERSHIP + sysIP_DROP_MEMBERSHIP = C.IP_DROP_MEMBERSHIP + + sizeofIPMreq = C.sizeof_struct_ip_mreq +) + +type ipMreq C.struct_ip_mreq |