Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我so_mark用来标记从特定套接字发送的数据包。 现在我想从我的 TC 中的一个类中过滤这些数据包(实际上来自 HTB 机制)。 要使用的过滤器是什么(语法示例也会有所帮助)
so_mark
如果有人想知道:
tc filter add dev eth0 parent 1:0 prio 1 u32 match mark 0x123 0xFFF flowid 1:1