[LARTC] Prioritize UDP packets?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, I need to make sure UDP packets are in the interactive traffic class.
I am using a modified version of the wondershaper. I belive I have figured
this out but wanted to check with the experts ;)

tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \
   match ip protocol 17 0xff \
   flowid 1:10

According to RFC IP Protocal 17 is UDP. Will this do what I want, or am I
off-base?

- --
PGP/GPG Fingerprint: 3B30 C6BE B1C6 9526 7A90  34E7 11DF 44F3 7217 7BC7
On pgp.mit.edu, import with `gpg --keyserver pgp.mit.edu --recv-key 72177BC7`
Also available at http://www.cal.net/~ryan/ryan_at_mother_dot_com.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+t1btEd9E83IXe8cRAjV7AJ9Z0bspCX6hAXBx4+b8NY+Cc5zSewCfcNn4
bj8m0FN2t3gbONcg1aRXouQ=
=wBpJ
-----END PGP SIGNATURE-----


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux