Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux kernel Linux网络调度器(tc qdisc)中的POLICED一词是以什么命名的?_Linux Kernel_Trafficshaping - Fatal编程技术网

Linux kernel Linux网络调度器(tc qdisc)中的POLICED一词是以什么命名的?

Linux kernel Linux网络调度器(tc qdisc)中的POLICED一词是以什么命名的?,linux-kernel,trafficshaping,Linux Kernel,Trafficshaping,POLICED意味着进入数据包的速度将受到限制,超过的数据包将被丢弃 我在include/linux/netdevice.h中看到一条评论“skb被警察枪杀” 当然很像,但是这个名字背后有什么故事吗?是的- menuconfig NET_SCHED bool "QoS and/or fair queueing" select NET_SCH_FIFO ---help--- When the kernel has several

POLICED意味着进入数据包的速度将受到限制,超过的数据包将被丢弃

我在include/linux/netdevice.h中看到一条评论“skb被警察枪杀”

当然很像,但是这个名字背后有什么故事吗?

是的-

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.