1 // cgo -godefs types_freebsd.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
4 // +build amd64,freebsd
23 type Timespec struct {
93 Birthtimespec Timespec
96 type Statfs_t struct {
121 type Flock_t struct {
146 FADV_SEQUENTIAL = 0x2
152 type RawSockaddrInet4 struct {
156 Addr [4]byte /* in_addr */
160 type RawSockaddrInet6 struct {
165 Addr [16]byte /* in6_addr */
169 type RawSockaddrUnix struct {
175 type RawSockaddrDatalink struct {
186 type RawSockaddr struct {
192 type RawSockaddrAny struct {
210 Multiaddr [4]byte /* in_addr */
211 Interface [4]byte /* in_addr */
214 type IPMreqn struct {
215 Multiaddr [4]byte /* in_addr */
216 Address [4]byte /* in_addr */
220 type IPv6Mreq struct {
221 Multiaddr [16]byte /* in6_addr */
237 type Cmsghdr struct {
243 type Inet6Pktinfo struct {
244 Addr [16]byte /* in6_addr */
248 type IPv6MTUInfo struct {
249 Addr RawSockaddrInet6
253 type ICMPv6Filter struct {
258 SizeofSockaddrInet4 = 0x10
259 SizeofSockaddrInet6 = 0x1c
260 SizeofSockaddrAny = 0x6c
261 SizeofSockaddrUnix = 0x6a
262 SizeofSockaddrDatalink = 0x36
266 SizeofIPv6Mreq = 0x14
269 SizeofInet6Pktinfo = 0x14
270 SizeofIPv6MTUInfo = 0x20
271 SizeofICMPv6Filter = 0x20
280 type Kevent_t struct {
290 X__fds_bits [16]uint64
294 sizeofIfMsghdr = 0xa8
295 SizeofIfMsghdr = 0xa8
298 SizeofIfaMsghdr = 0x14
299 SizeofIfmaMsghdr = 0x10
300 SizeofIfAnnounceMsghdr = 0x18
301 SizeofRtMsghdr = 0x98
302 SizeofRtMetrics = 0x70
305 type ifMsghdr struct {
316 type IfMsghdr struct {
352 X__ifi_lastchange [16]byte
383 type IfaMsghdr struct {
394 type IfmaMsghdr struct {
404 type IfAnnounceMsghdr struct {
413 type RtMsghdr struct {
429 type RtMetrics struct {
445 SizeofBpfVersion = 0x4
448 SizeofBpfProgram = 0x10
451 SizeofBpfZbufHeader = 0x20
454 type BpfVersion struct {
459 type BpfStat struct {
464 type BpfZbuf struct {
470 type BpfProgram struct {
476 type BpfInsn struct {
491 type BpfZbufHeader struct {
498 type Termios struct {
508 type Winsize struct {
518 AT_SYMLINK_FOLLOW = 0x400
519 AT_SYMLINK_NOFOLLOW = 0x200
522 type CapRights struct {