Networking Forums

Networking Forums > Computer Networking > Linux Networking > Where is the buffer in mac layer?

Reply
Thread Tools Display Modes

Where is the buffer in mac layer?

 
 
Choonho Son
Guest
Posts: n/a

 
      04-22-2004, 08:10 AM
If I send data to other node.

================================================== =======
data => TCP packet => IP packert => MAC FRAME => PHY

||
V
internet

||
V

destination

================================================== ===

in this case, I want to know who control the mac frame.
1) if ip packet is divided into mac frames, where is the mac frames' buffer?
OS or NIC device driver?


--

-------------------------------------
What I believe is what I can do.

http://opal.kaist.ac.kr/
Choonho Son @ Programming Language Lab. KAIST


 
Reply With Quote
 
 
 
 
P Gentry
Guest
Posts: n/a

 
      04-22-2004, 04:59 PM
"Choonho Son" <(E-Mail Removed)> wrote in message news:<c67tcd$ufq$(E-Mail Removed)>...
> If I send data to other node.
>
> ================================================== =======
> data => TCP packet => IP packert => MAC FRAME => PHY
>
> ||
> V
> internet
>
> ||
> V
>
> destination
>
> ================================================== ===
>
> in this case, I want to know who control the mac frame.
> 1) if ip packet is divided into mac frames, where is the mac frames' buffer?
> OS or NIC device driver?


If I understand your question -- where is the physical/wire framing
performed? -- you'll see that it has to be at the driver/interface
layer as the above layers have no knowledge of the _kind_ of hardware
running at the physical level. That's the whole point of the TCP/IP
stack -- seperate the upper layers from the hardware (ethernet, token
ring, FDDI, ATM, HDLC, ISDN, frame relay, PPP, etc.).

Each lower layer encapsulates what the upper layer handed to it, then
passes it on to the next lower layer. Finally, a device driver
"drives" the hardware that places the _signal_ on the wire (sometimes
it is a "frame" and sometimes it's a "cell" and sometimes it's
something else).

"Buffers" at the lowest levels will depend on the operation at hand --
tx'ing or rx'ing -- and the kind of hardware/protocol on the wire.

This is a _very_ general explanation of what goes on.

hth,
prg
email above disabled
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flushing a socket buffer soj Linux Networking 3 03-21-2007 04:53 PM
Monitor UDP socket buffer Frederic Mayot Linux Networking 0 03-16-2007 01:57 PM
multicast at the data layer (layer 2) non-flooding ? George Nychis Linux Networking 4 01-30-2006 02:09 PM
How to set Max UDP Receive Buffer Size and Max UDP Transmit Buffer Size under Windows 2000 and Windows 2003 ? msnews.microsoft.com Windows Networking 0 09-14-2005 07:20 PM
socket buffer size Pirabhu Raman Linux Networking 1 08-18-2004 09:48 PM



1 2 3 4 5 6 7 8 9 10 11