Re: VLAN header - priority field

Ben Greear <[email protected]> Mon, 07 Jan 2008 11:03:09 -0800
Newsgroups gmane.linux.drivers.vlan
Organization Candela Technologies
Message-ID <[email protected]>
asirad wrote:
> Hello
> 
> I installed vconfig on Debian and I configured vlan. Everything working 
> correctly but I need to change priority field in VLAN header to 3. Could 
> you help me with this? I try use set_egress_map and set_ingress_map 
> commands but it was useless. Manual of vconfig is not clear for me. 
> Please help.

You first have to make sure that the socket priority (skb->priority) is set
properly so that the set_egress_map can work.  Or, if you want all packets
to have VLAN priority of 3, use set_egress_map to map skb->priority of zero
to vlan priority of 3.

Thanks,
Ben

> 
> Best Regards
> Pawel
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Vlan mailing list
> [email protected]
> http://www.candelatech.com/mailman/listinfo/vlan


-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com