plugins/vendor/golang.org/x/net/ipv4/zsys_darwin.go

60 lines
1.0 KiB
Go
Raw Normal View History

// Code generated by cmd/cgo -godefs; DO NOT EDIT.
2017-05-27 04:32:35 +00:00
// cgo -godefs defs_darwin.go
package ipv4
const (
2018-11-18 13:43:35 +00:00
sizeofSockaddrStorage = 0x80
sizeofSockaddrInet = 0x10
sizeofInetPktinfo = 0xc
2017-05-27 04:32:35 +00:00
2018-11-18 13:43:35 +00:00
sizeofIPMreq = 0x8
sizeofIPMreqSource = 0xc
sizeofGroupReq = 0x84
sizeofGroupSourceReq = 0x104
2017-05-27 04:32:35 +00:00
)
2018-11-18 13:43:35 +00:00
type sockaddrStorage struct {
2017-05-27 04:32:35 +00:00
Len uint8
Family uint8
X__ss_pad1 [6]int8
X__ss_align int64
X__ss_pad2 [112]int8
}
2018-11-18 13:43:35 +00:00
type sockaddrInet struct {
2017-05-27 04:32:35 +00:00
Len uint8
Family uint8
Port uint16
Addr [4]byte /* in_addr */
Zero [8]int8
}
2018-11-18 13:43:35 +00:00
type inetPktinfo struct {
2017-05-27 04:32:35 +00:00
Ifindex uint32
Spec_dst [4]byte /* in_addr */
Addr [4]byte /* in_addr */
}
2018-11-18 13:43:35 +00:00
type ipMreq struct {
2017-05-27 04:32:35 +00:00
Multiaddr [4]byte /* in_addr */
Interface [4]byte /* in_addr */
}
2018-11-18 13:43:35 +00:00
type ipMreqSource struct {
2017-05-27 04:32:35 +00:00
Multiaddr [4]byte /* in_addr */
Sourceaddr [4]byte /* in_addr */
Interface [4]byte /* in_addr */
}
2018-11-18 13:43:35 +00:00
type groupReq struct {
2017-05-27 04:32:35 +00:00
Interface uint32
Pad_cgo_0 [128]byte
}
2018-11-18 13:43:35 +00:00
type groupSourceReq struct {
2017-05-27 04:32:35 +00:00
Interface uint32
Pad_cgo_0 [128]byte
Pad_cgo_1 [128]byte
}