嗨,我需要将指定的端口范围(例如从 16384 到 32768)与 tcng 匹配,以便为从该端口传出的流量提供更高的优先级。
示例文件:
#include "fields.tc"
dev "eth0" {
egress {
class(<$voip>) if ip_proto == IPPROTO_UDP && udp_sport == ...;
class(<$other>) if 1;
prio {
$voip = class(1) {
fifo();
}
$other = class(2) {
fifo();
}
}
}
}
我应该怎么办?提前致谢。