Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-30-2008, 06:43 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 15

Rep: Reputation: 0
Question Passing info from MAC to network layer (cross layer)

I want to implement a cross layer approach. i want to pass the network information such as delay from the MAC layer to Network layer. Can you tell me the way i am new to this. i am using linux (fedora). I think some system call will do the trick. Correct me if i am wrong. Any help in this regard is greatly appreciated.(i want to implement QoS matrices)
Old 12-31-2008, 02:22 PM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The MAC is not a 'layer' per se, but part of the link layer. In ethernet (assuming that is what you are referring to), the classical concept of physical layer and data link layer are more or less combined. One passes information to the link layer by writing data and control words to the appropriate registers in the hardware. This is the domain of a device driver. You can do this from a userspace application, iff you know how to program the hardware you have available, and if you have root privileges.
--- rod.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create layer break on dual layer dvd 5matyb5 Linux - General 2 02-28-2011 07:29 PM
DVD Drives - Dual Layer or double layer? Groundhog1248 Linux - Hardware 2 09-23-2009 09:30 PM
Passing the message/packet from layer to layer in OSI Or Unix. dina3e Linux - Networking 8 08-12-2008 04:15 PM
What DVD recorders/writers burn dual-layer/double-layer DVD's under Linux? bgoodr Linux - Hardware 5 02-06-2008 03:30 AM
simple way to make k9copy shrink dual layer to single layer DVD replica9000 Linux - Software 2 12-06-2007 02:41 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration