c/libuv: Add multiple struct size

This commit is contained in:
赵英杰
2024-08-15 10:57:29 +08:00
parent 9f1100b967
commit 8fcac42f34
2 changed files with 15 additions and 9 deletions

View File

@@ -83,18 +83,21 @@ type Tcp struct {
Unused [256]byte
}
// TODO(spongehah): Udp
type Udp struct {
Unused [0]byte
Unused [224]byte
}
/* Request types. */
// TODO(spongehah): Req
type Req struct {
Unused [0]byte
Unused [64]byte
}
// TODO(spongehah): UdpSend
type UdpSend struct {
Unused [0]byte
Unused [320]byte
}
// TODO(spongehah): Write
@@ -109,16 +112,19 @@ type Connect struct {
Unused [88]byte
}
// TODO(spongehah): GetAddrInfo
type GetAddrInfo struct {
Unused [0]byte
Unused [160]byte
}
// TODO(spongehah): GetNameInfo
type GetNameInfo struct {
Unused [0]byte
Unused [1320]byte
}
// TODO(spongehah): Shutdown
type Shutdown struct {
Unused [0]byte
Unused [80]byte
}
// ----------------------------------------------