mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-26 14:17:29 +02:00
* update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-billy/v5 * update github.com/go-git/go-git/v5 * update github.com/go-redis/redis/v8 * update github.com/go-testfixtures/testfixtures/v3 * update github.com/jaytaylor/html2text * update github.com/json-iterator/go * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mattn/go-isatty * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/prometheus/client_golang * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting Co-authored-by: techknowlogick <techknowlogick@gitea.io>
75 lines
1.2 KiB
Go
Vendored
75 lines
1.2 KiB
Go
Vendored
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
// cgo -godefs defs_linux.go
|
|
|
|
package ipv4
|
|
|
|
const (
|
|
sizeofKernelSockaddrStorage = 0x80
|
|
sizeofSockaddrInet = 0x10
|
|
sizeofInetPktinfo = 0xc
|
|
sizeofSockExtendedErr = 0x10
|
|
|
|
sizeofIPMreq = 0x8
|
|
sizeofIPMreqSource = 0xc
|
|
sizeofGroupReq = 0x88
|
|
sizeofGroupSourceReq = 0x108
|
|
|
|
sizeofICMPFilter = 0x4
|
|
)
|
|
|
|
type kernelSockaddrStorage struct {
|
|
Family uint16
|
|
X__data [126]int8
|
|
}
|
|
|
|
type sockaddrInet struct {
|
|
Family uint16
|
|
Port uint16
|
|
Addr [4]byte /* in_addr */
|
|
X__pad [8]uint8
|
|
}
|
|
|
|
type inetPktinfo struct {
|
|
Ifindex int32
|
|
Spec_dst [4]byte /* in_addr */
|
|
Addr [4]byte /* in_addr */
|
|
}
|
|
|
|
type sockExtendedErr struct {
|
|
Errno uint32
|
|
Origin uint8
|
|
Type uint8
|
|
Code uint8
|
|
Pad uint8
|
|
Info uint32
|
|
Data uint32
|
|
}
|
|
|
|
type ipMreq struct {
|
|
Multiaddr [4]byte /* in_addr */
|
|
Interface [4]byte /* in_addr */
|
|
}
|
|
|
|
type ipMreqSource struct {
|
|
Multiaddr uint32
|
|
Interface uint32
|
|
Sourceaddr uint32
|
|
}
|
|
|
|
type groupReq struct {
|
|
Interface uint32
|
|
Pad_cgo_0 [4]byte
|
|
Group kernelSockaddrStorage
|
|
}
|
|
|
|
type groupSourceReq struct {
|
|
Interface uint32
|
|
Pad_cgo_0 [4]byte
|
|
Group kernelSockaddrStorage
|
|
Source kernelSockaddrStorage
|
|
}
|
|
|
|
type icmpFilter struct {
|
|
Data uint32
|
|
}
|