2020-04-13 14:32:22 +00:00
|
|
|
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
|
2023-11-15 14:27:56 +00:00
|
|
|
INET_DIAG_ULP_INFO
|
|
|
|
INET_DIAG_SK_BPF_STORAGES
|
|
|
|
INET_DIAG_CGROUP_ID
|
|
|
|
INET_DIAG_SOCKOPT
|
2020-04-13 14:32:22 +00:00
|
|
|
INET_DIAG_MAX
|
|
|
|
)
|
|
|
|
|
|
|
|
type InetDiagTCPInfoResp struct {
|
|
|
|
InetDiagMsg *Socket
|
|
|
|
TCPInfo *TCPInfo
|
2020-10-01 15:56:11 +00:00
|
|
|
TCPBBRInfo *TCPBBRInfo
|
2020-04-13 14:32:22 +00:00
|
|
|
}
|
2023-11-15 14:50:31 +00:00
|
|
|
|
|
|
|
type InetDiagUDPInfoResp struct {
|
|
|
|
InetDiagMsg *Socket
|
|
|
|
Memory *MemInfo
|
|
|
|
}
|