[Click] TCP/UDP different queues

Bart Braem bart.braem at ua.ac.be
Mon Mar 9 03:11:49 EDT 2009


>> I'm working to create a file conf that classify the packets in TCP  
>> and UDP.
>> After that, I would like to direct the flows into different queues.
>
> Use a  Classifier that separates the flows based on IP protocol type
> (8bits: TCP (06) /UDP (17)) . Once the flows are separated you may
> apply your ideas... Look under click/conf to see how you may apply a
> classifier.

Even better, use a MarkIPHeader and then an IPClassifier. Your Click  
script will be more clear if you can use
IPClassifier(ip proto tcp, ip proto udp)

Regards,
Bart
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.30
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be



More information about the click mailing list