github.com/vishvananda/netlink@v1.3.0/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_ULP_INFO 25 INET_DIAG_SK_BPF_STORAGES 26 INET_DIAG_CGROUP_ID 27 INET_DIAG_SOCKOPT 28 INET_DIAG_MAX 29 ) 30 31 type InetDiagTCPInfoResp struct { 32 InetDiagMsg *Socket 33 TCPInfo *TCPInfo 34 TCPBBRInfo *TCPBBRInfo 35 } 36 37 type InetDiagUDPInfoResp struct { 38 InetDiagMsg *Socket 39 Memory *MemInfo 40 }