Displaying 1 result from an estimated 1 matches for "port_telnet".
2007 Apr 25
0
problem with prio qdisc and tcng
...onfiguration and looks like this:
#include "fields.tc"
#include "ports.tc"
#define X16(i) i i i i i i i i i i i i i i i i
dev ppp0 {
dsmark {
prio(bands 6, priomap X16($be)) {
class if ip_proto == IPPROTO_UDP;
class if tcp_dport == PORT_TELNET;
class if tcp_dport == PORT_HTTP;
class if tcp_dport == PORT_SMTP;
class if ip_dst == 10.0.10.10;
$be = class(6);
}
}
}
The tc-Code looks like this:
# ================================ Device ppp0
================================
tc qdisc ad...