🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.networking
Article #56

Re: Network cards, packets or bytes?

#56
From: Thomas F. Divine
Date: Sun, 03 Jun 2001 21:22
66 lines
3831 bytes
The answer to this question has to do with the Microsoft "Network Driver
Interface Specification" or "NDIS". NDIS specifies how to write what is
called a "miniport device driver" for each adapter.

Among other things, NDIS provides a way that the OS can fetch statistics
about transmit and receive operations. NDIS defines a large number of
statistics that adapters _CAN_ maintain about transmit and receive
operations. Each statistic is fetched using what is know an an "Object
Identifier" or "OID".

NDIS defines statistics OIDs for transmit and receive packets (or "frames")
as well as for bytes sent and received on an adapter.

HOWEVER, NDIS also specifies which statistics are _mandatory_ and which are
_optional_.

In general, the packet or frame statistics are the ones that are mandatory.
All miniports must support packet/frame statistics.

The byte statistics are, unfortunately, optional.

The gizmo that you are looking at probably is smart enough to ask each
miniport for byte statistics, and show them if they are available. If they
are not available for the particular miniport, then it shows packet counts.

Regards,
--
Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate Driver - TDI Client - Windows 95
Redirector
<http://www.pcausa.com>


David Chadwick <optic@iname.com> wrote in message
news:eZiYa6z6AHA.1924@tkmsftngp04...
> Hi Michael,
>
> I asked a similar question a few days ago and noone seemed to know.
>
> I have two network cards in my machine, a 3Com and a D-Link 530TX.  My
3Com
> shows as bytes and my D-Link shows as packets!
>
> I can only assume it has something to do with the driver for the network
> card.
>
> Good luck in finding an answer. :)
>
> Seeya,
>
> ...David
>
> "Michael" <flatbmx1@hotmail.com> wrote in message
> news:3b179416@news.iprimus.com.au...
> > only difference is he is using a d-link dfe-500tx+ nic which has always
> > displayed bytes in win2k and winxp, I use to use a d-link dfe-530tx+ nic
> but
> > it always displayed packets, now I'm using an intel one and it displays
> > packets as well...
> > perhaps the drivers for that specific model promote the use of bytes?
> > hmmmmm
> > Michael
>
>
Technical Details
Message-ID: <thlakqdom3mlb1@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <3b15b5fa@news.iprimus.com.au> <IvrR6.583$2G.104612@paloalto-snr1.gtei.net> <3b16b98a@news.iprimus.com.au> <H_BR6.11175$2G.566898@paloalto-snr1.gtei.net> <3b171604$1@news.iprimus.com.au> <CjGR6.15400$2G.909499@paloalto-snr1.gtei.net> <3b179416@news.iprimus.com.au> <eZiYa6z6AHA.1924@tkmsftngp04>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e11e,99cf14974d142168
X-Google-Attributes: gid10e11e,public
X-Google-Thread: 1136f8,99cf14974d142168
X-Google-Attributes: gid1136f8,public
X-Google-Thread: fd376,99cf14974d142168
X-Google-Attributes: gidfd376,public
X-Google-Thread: 108a34,99cf14974d142168
X-Google-Attributes: gid108a34,public
X-Google-Thread: fa91f,99cf14974d142168
X-Google-Attributes: gidfa91f,public
X-Google-ArrivalTime: 2001-06-03 14:22:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Thomas F. Divine" <tdivine@pcausa.com>
Newsgroups: comp.os.ms-windows.networking,comp.os.ms-windows.networking.misc,comp.os.ms-windows.programmer.networks,intel.network.adapters,microsoft.public.win2000.networking
Subject: Re: Network cards, packets or bytes?
Date: Sun, 3 Jun 2001 17:22:57 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <thlakqdom3mlb1@corp.supernews.com>
References: <3b15b5fa@news.iprimus.com.au> <IvrR6.583$2G.104612@paloalto-snr1.gtei.net> <3b16b98a@news.iprimus.com.au> <H_BR6.11175$2G.566898@paloalto-snr1.gtei.net> <3b171604$1@news.iprimus.com.au> <CjGR6.15400$2G.909499@paloalto-snr1.gtei.net> <3b179416@news.iprimus.com.au> <eZiYa6z6AHA.1924@tkmsftngp04>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: newsabuse@supernews.com
Lines: 68