Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- DEV=usb0
- tc qdisc add dev $DEV handle ffff: ingress
- tc filter add dev $DEV parent ffff: \
- protocol ip prio 20 \
- u32 match ip protocol 17 0xff \
- police rate 512kbit buffer 10k drop \
- flowid :1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement