9front - general discussion about 9front
 help / color / mirror / Atom feed
From: adventures in9 <adventuresin9@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] Fields in /net/ether0/ifstats
Date: Thu, 2 May 2024 13:58:59 -0700	[thread overview]
Message-ID: <CAPfmpJBwShZ2JZ-kmuMTwPL184b5UQxA=j_whMjnc+U2grMJcg@mail.gmail.com> (raw)
In-Reply-To: <s67nn3upwfhnbteqwpbw7xum6riqf64vpcdp2ukrztabhezcr5@qpisyd557njy>

The /net/etherN/ifstats file is particular to each driver.  So to
understand it you would have to read the code for that particular
driver.

The exception is for wifi, where it is used for scans and what AP you
are connected to.

/net/etherN/stats is set by the OS.  It is mentioned in ether(3), but
not much because it is pretty self explanatory.


On Thu, May 2, 2024 at 1:43 PM Rocky Hotas <rockyhotas@firemail.cc> wrote:
>
> Hello!
>
> The file /net/ether0/ifstats in the Ethernet device interface gives some
> information about the device and the packets.
>
> Are its fields documented somewhere? I tried googling them, but with no
> results.
>
> In particular, what is the contents of `eeprom' and `phy'? What do they
> represent?
>
> Bye,
>
> Rocky

  reply	other threads:[~2024-05-02 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 20:41 Rocky Hotas
2024-05-02 20:58 ` adventures in9 [this message]
2024-05-03  9:30   ` Rocky Hotas
2024-05-03  9:55     ` Rocky Hotas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPfmpJBwShZ2JZ-kmuMTwPL184b5UQxA=j_whMjnc+U2grMJcg@mail.gmail.com' \
    --to=adventuresin9@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).