1 // cgo -godefs types_freebsd.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
23 type Timespec struct {
93 Birthtimespec Timespec
97 type Statfs_t struct {
122 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 */
235 type Cmsghdr struct {
241 type Inet6Pktinfo struct {
242 Addr [16]byte /* in6_addr */
246 type IPv6MTUInfo struct {
247 Addr RawSockaddrInet6
251 type ICMPv6Filter struct {
256 SizeofSockaddrInet4 = 0x10
257 SizeofSockaddrInet6 = 0x1c
258 SizeofSockaddrAny = 0x6c
259 SizeofSockaddrUnix = 0x6a
260 SizeofSockaddrDatalink = 0x36
264 SizeofIPv6Mreq = 0x14
267 SizeofInet6Pktinfo = 0x14
268 SizeofIPv6MTUInfo = 0x20
269 SizeofICMPv6Filter = 0x20
278 type Kevent_t struct {
288 X__fds_bits [32]uint32
292 sizeofIfMsghdr = 0xa8
293 SizeofIfMsghdr = 0x60
296 SizeofIfaMsghdr = 0x14
297 SizeofIfmaMsghdr = 0x10
298 SizeofIfAnnounceMsghdr = 0x18
299 SizeofRtMsghdr = 0x5c
300 SizeofRtMetrics = 0x38
303 type ifMsghdr struct {
314 type IfMsghdr struct {
350 X__ifi_lastchange [16]byte
381 type IfaMsghdr struct {
392 type IfmaMsghdr struct {
402 type IfAnnounceMsghdr struct {
411 type RtMsghdr struct {
427 type RtMetrics struct {
443 SizeofBpfVersion = 0x4
446 SizeofBpfProgram = 0x8
449 SizeofBpfZbufHeader = 0x20
452 type BpfVersion struct {
457 type BpfStat struct {
462 type BpfZbuf struct {
468 type BpfProgram struct {
473 type BpfInsn struct {
488 type BpfZbufHeader struct {
495 type Termios struct {
505 type Winsize struct {
515 AT_SYMLINK_FOLLOW = 0x400
516 AT_SYMLINK_NOFOLLOW = 0x200
519 type CapRights struct {