1 // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
23 type Timespec struct {
95 Birthtimespec Timespec
98 type Statfs_t struct {
123 type Flock_t struct {
148 FADV_SEQUENTIAL = 0x2
154 type RawSockaddrInet4 struct {
158 Addr [4]byte /* in_addr */
162 type RawSockaddrInet6 struct {
167 Addr [16]byte /* in6_addr */
171 type RawSockaddrUnix struct {
177 type RawSockaddrDatalink struct {
188 type RawSockaddr struct {
194 type RawSockaddrAny struct {
212 Multiaddr [4]byte /* in_addr */
213 Interface [4]byte /* in_addr */
216 type IPMreqn struct {
217 Multiaddr [4]byte /* in_addr */
218 Address [4]byte /* in_addr */
222 type IPv6Mreq struct {
223 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 [32]uint32
294 sizeofIfMsghdr = 0xa8
295 SizeofIfMsghdr = 0x70
298 SizeofIfaMsghdr = 0x14
299 SizeofIfmaMsghdr = 0x10
300 SizeofIfAnnounceMsghdr = 0x18
301 SizeofRtMsghdr = 0x5c
302 SizeofRtMetrics = 0x38
305 type ifMsghdr struct {
316 type IfMsghdr struct {
352 X__ifi_lastchange [16]byte
384 type IfaMsghdr struct {
395 type IfmaMsghdr struct {
405 type IfAnnounceMsghdr struct {
414 type RtMsghdr struct {
430 type RtMetrics struct {
446 SizeofBpfVersion = 0x4
449 SizeofBpfProgram = 0x8
452 SizeofBpfZbufHeader = 0x20
455 type BpfVersion struct {
460 type BpfStat struct {
465 type BpfZbuf struct {
471 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 {