package tcp
const (
sysSO_ORIGINAL_DST = 0x50
sysIP6T_SO_ORIGINAL_DST = 0x50
)
type sockaddrStorage struct {
Family uint16
X__ss_padding [118]int8
X__ss_align uint64
}
type sockaddr struct {
Family uint16
Data [14]int8
}
type sockaddrInet struct {
Family uint16
Port uint16
Addr [4]byte
X__pad [8]uint8
}
type sockaddrInet6 struct {
Family uint16
Port uint16
Flowinfo uint32
Addr [16]byte
Scope_id uint32
}
const (
sizeofSockaddrStorage = 0x80
sizeofSockaddr = 0x10
sizeofSockaddrInet = 0x10
sizeofSockaddrInet6 = 0x1c
)
 |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |