setting the skb->priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Sorry if this isn't an attequate question for this list.
My name is Hideaki, and I'm a newbie to netfilter, and 
trying to use the CLASSIFY target, with kernel 2.6.

What I want to do is to set the skb->priority to a packet,
other than using the setpriority(SO_PRIORITY).
I wanted to set vlan-qos bit to the packet I'm routing.
And I thought that it might be possible by using vconfig 
if I was able to set the skb->priority to the packet 
I'm routing.

I thought that CLASSIFY target was the one to do this, but
I couldnt understand the usage.
It seems to me that CLASSIFY target just sends a packet to
a specified class, and not set skb->priority field.
If it does, how do I set it ? Since there isnt any parameters
that I can use to specify the skb->priority, I thought I might
be missing something.

Would anyone please give me a clue to it ?

I'm also mailing similar thing to the VLAN Mailing list, so I'm
sorry if anyone saw this twice.
(I'll mail the solution to both of the list when I get one)
And also, I made a mistake and sent this to the 
netfilter-anouncement list. Sorry for that.

Thanks in advance,
Hideaki



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux