github.com/sagernet/netlink@v0.0.0-20240612041022-b9a21c07ac6a/inet_diag.go (about) 1 package netlink 2 3 // INET_DIAG constatns 4 const ( 5 INET_DIAG_NONE = iota 6 INET_DIAG_MEMINFO 7 INET_DIAG_INFO 8 INET_DIAG_VEGASINFO 9 INET_DIAG_CONG 10 INET_DIAG_TOS 11 INET_DIAG_TCLASS 12 INET_DIAG_SKMEMINFO 13 INET_DIAG_SHUTDOWN 14 INET_DIAG_DCTCPINFO 15 INET_DIAG_PROTOCOL 16 INET_DIAG_SKV6ONLY 17 INET_DIAG_LOCALS 18 INET_DIAG_PEERS 19 INET_DIAG_PAD 20 INET_DIAG_MARK 21 INET_DIAG_BBRINFO 22 INET_DIAG_CLASS_ID 23 INET_DIAG_MD5SIG 24 INET_DIAG_MAX 25 ) 26 27 type InetDiagTCPInfoResp struct { 28 InetDiagMsg *Socket 29 TCPInfo *TCPInfo 30 TCPBBRInfo *TCPBBRInfo 31 }