/*
 * Copyright (c) 2021 Red Hat.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 */

#ifndef SOCKETS
#define SOCKETS	154
#endif

network {
    persocket
}

network.persocket {
    filter		SOCKETS:0:0
    netid		SOCKETS:1:0
    state		SOCKETS:1:1
    recvq		SOCKETS:1:2
    sendq		SOCKETS:1:3
    src			SOCKETS:1:4
    dst			SOCKETS:1:5
    inode		SOCKETS:1:6
    uid			SOCKETS:1:8
    sk			SOCKETS:1:9
    cgroup		SOCKETS:1:10
    v6only		SOCKETS:1:11
    ts			SOCKETS:1:13
    sack		SOCKETS:1:14
    cubic		SOCKETS:1:15
    ato			SOCKETS:1:16
    mss			SOCKETS:1:17
    pmtu		SOCKETS:1:18
    rcvmss		SOCKETS:1:19
    advmss		SOCKETS:1:20
    cwnd		SOCKETS:1:21
    ssthresh		SOCKETS:1:22
    bytes_sent		SOCKETS:1:23
    bytes_retrans	SOCKETS:1:24
    bytes_acked		SOCKETS:1:25
    bytes_received	SOCKETS:1:36
    segs_out		SOCKETS:1:37
    segs_in		SOCKETS:1:38
    data_segs_out	SOCKETS:1:39
    data_segs_in	SOCKETS:1:40
    send		SOCKETS:1:41
    lastsnd		SOCKETS:1:42
    lastrcv		SOCKETS:1:43
    lastack		SOCKETS:1:44
    pacing_rate		SOCKETS:1:45
    delivery_rate	SOCKETS:1:46
    delivered		SOCKETS:1:47
    app_limited		SOCKETS:1:48
    reord_seen		SOCKETS:1:49
    busy		SOCKETS:1:50
    dsack_dups		SOCKETS:1:51
    rcv_rtt		SOCKETS:1:52
    rcv_space		SOCKETS:1:53
    rcv_ssthresh	SOCKETS:1:54
    minrtt		SOCKETS:1:55
    notsent		SOCKETS:1:56

    /* non-leaves */
    timer
    skmem
    wscale
    round_trip
}

network.persocket.wscale {
    str			SOCKETS:1:60
    snd			SOCKETS:1:61
    rcv			SOCKETS:1:62
}

network.persocket.timer {
    str			SOCKETS:1:70
    name		SOCKETS:1:71
    expire_str		SOCKETS:1:72
    retrans		SOCKETS:1:73
}

network.persocket.skmem {
    str			SOCKETS:1:80
    rmem_alloc		SOCKETS:1:81
    wmem_alloc		SOCKETS:1:82
    rcv_buf		SOCKETS:1:83
    snd_buf		SOCKETS:1:84
    fwd_alloc		SOCKETS:1:95
    wmem_queued		SOCKETS:1:86
    ropt_mem		SOCKETS:1:87
    back_log		SOCKETS:1:88
    sock_drop		SOCKETS:1:89
}

network.persocket.round_trip {
    str			SOCKETS:1:90
    rtt			SOCKETS:1:91
    rttvar		SOCKETS:1:92
}
