NT:Raw Ethernet

Hi,

What is Raw Ethernet?
Is it any means to bypass TCP/IP stack?

Regards
jay


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi

If you know the MAC address of the destination, you can send raw ethernet
packet to that address. You need packet driver for your Network Interface
Card. You will be defining your own protocol. Usually when you purchase the
NIC, you will get the packet driver in the floppy along with the card.

Jojan

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Tuesday, January 16, 2001 4:35 PM
To: NT Developers Interest List
Subject: [ntdev] NT:Raw Ethernet

Hi,

What is Raw Ethernet?
Is it any means to bypass TCP/IP stack?

Regards
jay


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> What is Raw Ethernet?

Is it any means to bypass TCP/IP stack?

Surely, this is a way to send/receive the hardware-defined format frames on
the more lower layer than TCP/IP.
UNIXen allow working with raw Ethernet from user mode - socket(PF_PACKET…)
etc.
NT does not allow this - you need a protocol driver in the kernel to do
this.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The PCAUSA Rawether for Windows site provides an intorduction to lower-level
network programming. See:

http:

Take the “Rawether Tour” to get the basics.

Also visit the NDIS FAQ at:

http:

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:

----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Tuesday, January 16, 2001 4:04 PM
Subject: [ntdev] Re: NT:Raw Ethernet

> > What is Raw Ethernet?
> > Is it any means to bypass TCP/IP stack?
>
> Surely, this is a way to send/receive the hardware-defined format frames
on
> the more lower layer than TCP/IP.
> UNIXen allow working with raw Ethernet from user mode -
socket(PF_PACKET…)
> etc.
> NT does not allow this - you need a protocol driver in the kernel to do
> this.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@pcausa.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:></http:></http:>

Dear Jojan,

Thank U for the info.

As I had mentioned earlier, My ehternet connection is going to be a direct one
between PC and a DSP board.So I do not want any acknowledgement.
I just want to get the data. In this case what does “protocol” mean?

When my NIC is installed won’t the packet driver also be installed?
If so, how to access the driver ?
Can I do it from an application?

Regards
jay

JOJAN wrote:

Hi

If you know the MAC address of the destination, you can send raw ethernet
packet to that address. You need packet driver for your Network Interface
Card. You will be defining your own protocol. Usually when you purchase the
NIC, you will get the packet driver in the floppy along with the card.

Jojan

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Tuesday, January 16, 2001 4:35 PM
To: NT Developers Interest List
Subject: [ntdev] NT:Raw Ethernet

Hi,

What is Raw Ethernet?
Is it any means to bypass TCP/IP stack?

Regards
jay


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@miel.mot.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Jay

Please find the MS sample packet driver at the following link

http://support.microsoft.com/support/kb/articles/q238/6/52.ASP

It is a NT driver (I hope you are working in NT). If you want to work in
95/98, the packet driver sample is available at MS site or in the DDK.

By protocol, I mean, you have to define your own protocol for the
application.

Jojan T. Antony,
Device Driver Group,
Network Systems & Technologies (P) Ltd.,
Technopark, Thiruvananthapuram, India.

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Wednesday, January 17, 2001 10:33 AM
To: NT Developers Interest List
Subject: [ntdev] RE: NT:Raw Ethernet

Dear Jojan,

Thank U for the info.

As I had mentioned earlier, My ehternet connection is going to be a direct
one
between PC and a DSP board.So I do not want any acknowledgement.
I just want to get the data. In this case what does “protocol” mean?

When my NIC is installed won’t the packet driver also be installed?
If so, how to access the driver ?
Can I do it from an application?

Regards
jay

JOJAN wrote:

Hi

If you know the MAC address of the destination, you can send raw ethernet
packet to that address. You need packet driver for your Network Interface
Card. You will be defining your own protocol. Usually when you purchase
the
NIC, you will get the packet driver in the floppy along with the card.

Jojan

-----Original Message-----
From: Jayachandran.B [mailto:xxxxx@miel.mot.com]
Sent: Tuesday, January 16, 2001 4:35 PM
To: NT Developers Interest List
Subject: [ntdev] NT:Raw Ethernet

Hi,

What is Raw Ethernet?
Is it any means to bypass TCP/IP stack?

Regards
jay


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@miel.mot.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@nestec.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> As I had mentioned earlier, My ehternet connection is going to be a direct
one

between PC and a DSP board.So I do not want any acknowledgement.

You will need ACKs - Ethernet is allowed to drop and to reorder packets.
Your protocol must handle these situations correctly without major problems.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com