mirror of
https://github.com/golang/go
synced 2024-11-22 00:54:43 -07:00
parent
0ae041735a
commit
223459891e
@ -23,6 +23,7 @@ const (
|
|||||||
SizeofSockaddrUnix = 0x6e
|
SizeofSockaddrUnix = 0x6e
|
||||||
SizeofSockaddrLinklayer = 0x14
|
SizeofSockaddrLinklayer = 0x14
|
||||||
SizeofLinger = 0x8
|
SizeofLinger = 0x8
|
||||||
|
SizeofIpMreq = 0x8
|
||||||
SizeofMsghdr = 0x1c
|
SizeofMsghdr = 0x1c
|
||||||
SizeofCmsghdr = 0xc
|
SizeofCmsghdr = 0xc
|
||||||
SizeofUcred = 0xc
|
SizeofUcred = 0xc
|
||||||
@ -221,6 +222,11 @@ type Iovec struct {
|
|||||||
Len uint32
|
Len uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type IpMreq struct {
|
||||||
|
Multiaddr [4]byte /* in_addr */
|
||||||
|
Interface [4]byte /* in_addr */
|
||||||
|
}
|
||||||
|
|
||||||
type Msghdr struct {
|
type Msghdr struct {
|
||||||
Name *byte
|
Name *byte
|
||||||
Namelen uint32
|
Namelen uint32
|
||||||
|
Loading…
Reference in New Issue
Block a user