tc filter … protocol 802.1q … u32 and filtering VLAN tagged packets
This info was tested with kernels 2.6.26 and 2.6.32. Caution, 2.6.31, looks like, has some nitpicks. Well, I did not examine cls_u32.c etc-etc — so I can be wrong .) Some notes regarding «filtering logic»: When we write tc filter … protocol <proto> u32 match u<length> … Continue readingtc filter … protocol 802.1q … u32 and filtering VLAN tagged packets