Skip to contentSkip to conversation

classid or flowid ? which is better ?

LARTC raptor 2 participants 4 messages Nov 13, 2003 – Nov 14, 2003

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · raptor

hi there,

forgot one question. Which is better to use in filter -> classid to direct the traffic to the leaf-class or to use flowid to direct it to the leaf-class-child-qdisc ?!
what is the difference ?

classid = flowid. You can use both.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#2 lore raw
In reply to raptor
Quoted 8 lines · raptor
Quoted 6 lines

hi there,

forgot one question. Which is better to use in filter -> classid to direct the traffic to the leaf-class or to use flowid to direct it to the leaf-class-child-qdisc ?!
what is the difference ?

classid = flowid. You can use both.

]- doesnt seem the same.. u can't use flowid to point to class or classid to point to qdisc ?! The question is does it have some other implication ! say speed :"!

leaf-class <--classid
|---- qdisc <----flowid
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to raptor
Quoted 8 lines · raptor
Quoted 8 lines · raptor
Quoted 6 lines

hi there,

forgot one question. Which is better to use in filter -> classid to direct the traffic to the leaf-class or to use flowid to direct it to the leaf-class-child-qdisc ?!
what is the difference ?

Quoted 5 lines
Quoted 1 line

classid = flowid. You can use both.

]- doesnt seem the same.. u can't use flowid to point to class or classid to point to qdisc ?! The question is does it have some other implication !
say speed :"!

I don't understand what you want to say, but from the tc source :
f_fw.c:

                if (matches(*argv, "classid") = 0 ||
                    matches(*argv, "flowid") = 0) {
f_u32.c:
                } else if (matches(*argv, "classid") = 0 ||
                           strcmp(*argv, "flowid") = 0) {
f_route.c:
                } else if (matches(*argv, "classid") = 0 ||
                           strcmp(*argv, "flowid") = 0) {

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/