0
POLICED表示入口數據包的速度將受到限制,超出的數據包將被丟棄。Linux網絡調度器(tc qdisc)中名稱爲POLICED的術語是什麼?
我在include/linux/netdevice.h中看到了一條評論「skb是警察槍殺」。
這當然是一樣的,但這個名字背後有什麼故事嗎?
POLICED表示入口數據包的速度將受到限制,超出的數據包將被丟棄。Linux網絡調度器(tc qdisc)中名稱爲POLICED的術語是什麼?
我在include/linux/netdevice.h中看到了一條評論「skb是警察槍殺」。
這當然是一樣的,但這個名字背後有什麼故事嗎?
是 -
http://lxr.linux.no/#linux+v3.2.9/net/sched/Kconfig
menuconfig NET_SCHED
bool "QoS and/or fair queueing"
select NET_SCH_FIFO
---help---
When the kernel has several packets to send out over a network
device, it has to decide which ones to send first, which ones to
delay, and which ones to drop. This is the job of the queueing
disciplines, several different algorithms for how to do this
"fairly" have been proposed.
...
config NET_ACT_POLICE
tristate "Traffic Policing"
depends on NET_CLS_ACT
---help---
Say Y here if you want to do traffic policing, i.e. strict
bandwidth limiting. This action replaces the existing policing
module.
To compile this code as a module, choose M here: the
module will be called act_police.