Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[VLAN] VLAN setting and priority setting in the application process ?

0 views
Skip to first unread message

Ben Greear

unread,
Aug 15, 2000, 3:00:00 AM8/15/00
to vl...@scry.wanfear.com, linux-net
Dheeren Bebortha wrote:
>
> Hi,
>
> I am new to the world of VLAN tagging. Assuming, there are patches
> available for processing VLAN tagging at the driver level, how do I set
> the priority while sending a message ? I saw some refrences to setting
> skb->priority in some of the discussions. I could not understand how
> exactly a user request maps into this parameter in the skb and how does
> that get mapped in VLAN layer over ethernet. Any help in the area will
> be appreciated.
>
> Thanks in advance.
>
> -Dheeren (dhe...@nayna.com)

The VLAN patches allow you to map a skb->priority into a VLAN priority.
So, all you have to do is figure out how to map your process into a
skb->priority. I haven't ever tried that, but I'm pretty sure it's
an IOCTL option that you can set on a socket. There may be some more
general ways to affect priority too...

Hopefully, someone on the linux-net group has a better idea...

Ben

--
Ben Greear (gre...@candelatech.com) http://www.candelatech.com
Author of ScryMUD: scry.wanfear.com 4444 (Released under GPL)
http://scry.wanfear.com http://scry.wanfear.com/~greear
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majo...@vger.rutgers.edu

Ben Greear

unread,
Aug 15, 2000, 3:00:00 AM8/15/00
to vl...@scry.wanfear.com, linux-net
0 new messages