🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Network cards, packets or bytes?

#51
From: Thomas F. Divine
Date: Wed, 06 Jun 2001 04:30
102 lines
4875 bytes
Only the writer of the adater driver could do that...

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>


Michael <flatbmx1@hotmail.com> wrote in message
news:3b1ad929@news.iprimus.com.au...
> wow, that's a pretty informative answer, thanks heaps   :)
> So in theory you should be able to modify the driver if you knew what you
> were doing and make it display bytes
>
> Thanks for your post
> Regaurds, Michael
> "Thomas F. Divine" <tdivine@pcausa.com> wrote in message
> news:thlakqdom3mlb1@corp.supernews.com...
> > 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: <thrckb29n4f558@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> <thlakqdom3mlb1@corp.supernews.com> <3b1ad929@news.iprimus.com.au>

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: 108a34,99cf14974d142168
X-Google-Attributes: gid108a34,public
X-Google-Thread: fd376,99cf14974d142168
X-Google-Attributes: gidfd376,public
X-Google-Thread: fa91f,99cf14974d142168
X-Google-Attributes: gidfa91f,public
X-Google-ArrivalTime: 2001-06-05 21:33:16 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: Wed, 6 Jun 2001 00:30:32 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <thrckb29n4f558@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> <thlakqdom3mlb1@corp.supernews.com> <3b1ad929@news.iprimus.com.au>
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: 104