Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

rtnl_link_stats64

Public Struct
std.os.linux.rtnl_link_stats64
pub const rtnl_link_stats64 = extern struct

Fields

rx_packets: u64

total packets received

tx_packets: u64

total packets transmitted

rx_bytes: u64

total bytes received

tx_bytes: u64

total bytes transmitted

rx_errors: u64

bad packets received

tx_errors: u64

packet transmit problems

rx_dropped: u64

no space in linux buffers

tx_dropped: u64

no space available in linux

multicast: u64

multicast packets received

collisions: u64
rx_length_errors: u64
rx_over_errors: u64

receiver ring buff overflow

rx_crc_errors: u64

recved pkt with crc error

rx_frame_errors: u64

recv'd frame alignment error

rx_fifo_errors: u64

recv'r fifo overrun

rx_missed_errors: u64

receiver missed packet

tx_aborted_errors: u64

detailed tx_errors

tx_carrier_errors: u64
tx_fifo_errors: u64
tx_heartbeat_errors: u64
tx_window_errors: u64
rx_compressed: u64
tx_compressed: u64
rx_nohandler: u64

dropped, no handler found

File

os/linux.zig:10231
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
pub const rtnl_link_stats64 = extern struct {
    /// total packets received
    rx_packets: u64,

    /// total packets transmitted
    tx_packets: u64,

    /// total bytes received
    rx_bytes: u64,

    /// total bytes transmitted
    tx_bytes: u64,

    /// bad packets received
    rx_errors: u64,

    /// packet transmit problems
    tx_errors: u64,

    /// no space in linux buffers
    rx_dropped: u64,

    /// no space available in linux
    tx_dropped: u64,

    /// multicast packets received
    multicast: u64,

    collisions: u64,

    // detailed rx_errors

    rx_length_errors: u64,

    /// receiver ring buff overflow
    rx_over_errors: u64,

    /// recved pkt with crc error
    rx_crc_errors: u64,

    /// recv'd frame alignment error
    rx_frame_errors: u64,

    /// recv'r fifo overrun
    rx_fifo_errors: u64,

    /// receiver missed packet
    rx_missed_errors: u64,

    // detailed tx_errors
    tx_aborted_errors: u64,
    tx_carrier_errors: u64,
    tx_fifo_errors: u64,
    tx_heartbeat_errors: u64,
    tx_window_errors: u64,

    // for cslip etc

    rx_compressed: u64,
    tx_compressed: u64,

    /// dropped, no handler found
    rx_nohandler: u64,
}