mirror of
https://github.com/vishvananda/netlink
synced 2024-12-27 00:52:11 +00:00
06219cde3e
Signed-off-by: Sven Rebhan <srebhan@influxdata.com>
37 lines
603 B
Go
37 lines
603 B
Go
package netlink
|
|
|
|
// INET_DIAG constatns
|
|
const (
|
|
INET_DIAG_NONE = iota
|
|
INET_DIAG_MEMINFO
|
|
INET_DIAG_INFO
|
|
INET_DIAG_VEGASINFO
|
|
INET_DIAG_CONG
|
|
INET_DIAG_TOS
|
|
INET_DIAG_TCLASS
|
|
INET_DIAG_SKMEMINFO
|
|
INET_DIAG_SHUTDOWN
|
|
INET_DIAG_DCTCPINFO
|
|
INET_DIAG_PROTOCOL
|
|
INET_DIAG_SKV6ONLY
|
|
INET_DIAG_LOCALS
|
|
INET_DIAG_PEERS
|
|
INET_DIAG_PAD
|
|
INET_DIAG_MARK
|
|
INET_DIAG_BBRINFO
|
|
INET_DIAG_CLASS_ID
|
|
INET_DIAG_MD5SIG
|
|
INET_DIAG_MAX
|
|
)
|
|
|
|
type InetDiagTCPInfoResp struct {
|
|
InetDiagMsg *Socket
|
|
TCPInfo *TCPInfo
|
|
TCPBBRInfo *TCPBBRInfo
|
|
}
|
|
|
|
type InetDiagUDPInfoResp struct {
|
|
InetDiagMsg *Socket
|
|
Memory *MemInfo
|
|
}
|