Kconfig 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  1. #
  2. # Traffic control configuration.
  3. #
  4. menuconfig NET_SCHED
  5. bool "QoS and/or fair queueing"
  6. select NET_SCH_FIFO
  7. ---help---
  8. When the kernel has several packets to send out over a network
  9. device, it has to decide which ones to send first, which ones to
  10. delay, and which ones to drop. This is the job of the queueing
  11. disciplines, several different algorithms for how to do this
  12. "fairly" have been proposed.
  13. If you say N here, you will get the standard packet scheduler, which
  14. is a FIFO (first come, first served). If you say Y here, you will be
  15. able to choose from among several alternative algorithms which can
  16. then be attached to different network devices. This is useful for
  17. example if some of your network devices are real time devices that
  18. need a certain minimum data flow rate, or if you need to limit the
  19. maximum data flow rate for traffic which matches specified criteria.
  20. This code is considered to be experimental.
  21. To administer these schedulers, you'll need the user-level utilities
  22. from the package iproute2+tc at
  23. <https://www.kernel.org/pub/linux/utils/net/iproute2/>. That package
  24. also contains some documentation; for more, check out
  25. <http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2>.
  26. This Quality of Service (QoS) support will enable you to use
  27. Differentiated Services (diffserv) and Resource Reservation Protocol
  28. (RSVP) on your Linux router if you also say Y to the corresponding
  29. classifiers below. Documentation and software is at
  30. <http://diffserv.sourceforge.net/>.
  31. If you say Y here and to "/proc file system" below, you will be able
  32. to read status information about packet schedulers from the file
  33. /proc/net/psched.
  34. The available schedulers are listed in the following questions; you
  35. can say Y to as many as you like. If unsure, say N now.
  36. if NET_SCHED
  37. comment "Queueing/Scheduling"
  38. config NET_SCH_CBQ
  39. tristate "Class Based Queueing (CBQ)"
  40. ---help---
  41. Say Y here if you want to use the Class-Based Queueing (CBQ) packet
  42. scheduling algorithm. This algorithm classifies the waiting packets
  43. into a tree-like hierarchy of classes; the leaves of this tree are
  44. in turn scheduled by separate algorithms.
  45. See the top of <file:net/sched/sch_cbq.c> for more details.
  46. CBQ is a commonly used scheduler, so if you're unsure, you should
  47. say Y here. Then say Y to all the queueing algorithms below that you
  48. want to use as leaf disciplines.
  49. To compile this code as a module, choose M here: the
  50. module will be called sch_cbq.
  51. config NET_SCH_HTB
  52. tristate "Hierarchical Token Bucket (HTB)"
  53. ---help---
  54. Say Y here if you want to use the Hierarchical Token Buckets (HTB)
  55. packet scheduling algorithm. See
  56. <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
  57. in-depth articles.
  58. HTB is very similar to CBQ regarding its goals however is has
  59. different properties and different algorithm.
  60. To compile this code as a module, choose M here: the
  61. module will be called sch_htb.
  62. config NET_SCH_HFSC
  63. tristate "Hierarchical Fair Service Curve (HFSC)"
  64. ---help---
  65. Say Y here if you want to use the Hierarchical Fair Service Curve
  66. (HFSC) packet scheduling algorithm.
  67. To compile this code as a module, choose M here: the
  68. module will be called sch_hfsc.
  69. config NET_SCH_ATM
  70. tristate "ATM Virtual Circuits (ATM)"
  71. depends on ATM
  72. ---help---
  73. Say Y here if you want to use the ATM pseudo-scheduler. This
  74. provides a framework for invoking classifiers, which in turn
  75. select classes of this queuing discipline. Each class maps
  76. the flow(s) it is handling to a given virtual circuit.
  77. See the top of <file:net/sched/sch_atm.c> for more details.
  78. To compile this code as a module, choose M here: the
  79. module will be called sch_atm.
  80. config NET_SCH_PRIO
  81. tristate "Multi Band Priority Queueing (PRIO)"
  82. ---help---
  83. Say Y here if you want to use an n-band priority queue packet
  84. scheduler.
  85. To compile this code as a module, choose M here: the
  86. module will be called sch_prio.
  87. config NET_SCH_MULTIQ
  88. tristate "Hardware Multiqueue-aware Multi Band Queuing (MULTIQ)"
  89. ---help---
  90. Say Y here if you want to use an n-band queue packet scheduler
  91. to support devices that have multiple hardware transmit queues.
  92. To compile this code as a module, choose M here: the
  93. module will be called sch_multiq.
  94. config NET_SCH_RED
  95. tristate "Random Early Detection (RED)"
  96. ---help---
  97. Say Y here if you want to use the Random Early Detection (RED)
  98. packet scheduling algorithm.
  99. See the top of <file:net/sched/sch_red.c> for more details.
  100. To compile this code as a module, choose M here: the
  101. module will be called sch_red.
  102. config NET_SCH_SFB
  103. tristate "Stochastic Fair Blue (SFB)"
  104. ---help---
  105. Say Y here if you want to use the Stochastic Fair Blue (SFB)
  106. packet scheduling algorithm.
  107. See the top of <file:net/sched/sch_sfb.c> for more details.
  108. To compile this code as a module, choose M here: the
  109. module will be called sch_sfb.
  110. config NET_SCH_SFQ
  111. tristate "Stochastic Fairness Queueing (SFQ)"
  112. ---help---
  113. Say Y here if you want to use the Stochastic Fairness Queueing (SFQ)
  114. packet scheduling algorithm.
  115. See the top of <file:net/sched/sch_sfq.c> for more details.
  116. To compile this code as a module, choose M here: the
  117. module will be called sch_sfq.
  118. config NET_SCH_TEQL
  119. tristate "True Link Equalizer (TEQL)"
  120. ---help---
  121. Say Y here if you want to use the True Link Equalizer (TLE) packet
  122. scheduling algorithm. This queueing discipline allows the combination
  123. of several physical devices into one virtual device.
  124. See the top of <file:net/sched/sch_teql.c> for more details.
  125. To compile this code as a module, choose M here: the
  126. module will be called sch_teql.
  127. config NET_SCH_TBF
  128. tristate "Token Bucket Filter (TBF)"
  129. ---help---
  130. Say Y here if you want to use the Token Bucket Filter (TBF) packet
  131. scheduling algorithm.
  132. See the top of <file:net/sched/sch_tbf.c> for more details.
  133. To compile this code as a module, choose M here: the
  134. module will be called sch_tbf.
  135. config NET_SCH_GRED
  136. tristate "Generic Random Early Detection (GRED)"
  137. ---help---
  138. Say Y here if you want to use the Generic Random Early Detection
  139. (GRED) packet scheduling algorithm for some of your network devices
  140. (see the top of <file:net/sched/sch_red.c> for details and
  141. references about the algorithm).
  142. To compile this code as a module, choose M here: the
  143. module will be called sch_gred.
  144. config NET_SCH_DSMARK
  145. tristate "Differentiated Services marker (DSMARK)"
  146. ---help---
  147. Say Y if you want to schedule packets according to the
  148. Differentiated Services architecture proposed in RFC 2475.
  149. Technical information on this method, with pointers to associated
  150. RFCs, is available at <http://www.gta.ufrj.br/diffserv/>.
  151. To compile this code as a module, choose M here: the
  152. module will be called sch_dsmark.
  153. config NET_SCH_NETEM
  154. tristate "Network emulator (NETEM)"
  155. ---help---
  156. Say Y if you want to emulate network delay, loss, and packet
  157. re-ordering. This is often useful to simulate networks when
  158. testing applications or protocols.
  159. To compile this driver as a module, choose M here: the module
  160. will be called sch_netem.
  161. If unsure, say N.
  162. config NET_SCH_DRR
  163. tristate "Deficit Round Robin scheduler (DRR)"
  164. help
  165. Say Y here if you want to use the Deficit Round Robin (DRR) packet
  166. scheduling algorithm.
  167. To compile this driver as a module, choose M here: the module
  168. will be called sch_drr.
  169. If unsure, say N.
  170. config NET_SCH_MQPRIO
  171. tristate "Multi-queue priority scheduler (MQPRIO)"
  172. help
  173. Say Y here if you want to use the Multi-queue Priority scheduler.
  174. This scheduler allows QOS to be offloaded on NICs that have support
  175. for offloading QOS schedulers.
  176. To compile this driver as a module, choose M here: the module will
  177. be called sch_mqprio.
  178. If unsure, say N.
  179. config NET_SCH_CHOKE
  180. tristate "CHOose and Keep responsive flow scheduler (CHOKE)"
  181. help
  182. Say Y here if you want to use the CHOKe packet scheduler (CHOose
  183. and Keep for responsive flows, CHOose and Kill for unresponsive
  184. flows). This is a variation of RED which trys to penalize flows
  185. that monopolize the queue.
  186. To compile this code as a module, choose M here: the
  187. module will be called sch_choke.
  188. config NET_SCH_QFQ
  189. tristate "Quick Fair Queueing scheduler (QFQ)"
  190. help
  191. Say Y here if you want to use the Quick Fair Queueing Scheduler (QFQ)
  192. packet scheduling algorithm.
  193. To compile this driver as a module, choose M here: the module
  194. will be called sch_qfq.
  195. If unsure, say N.
  196. config NET_SCH_CODEL
  197. tristate "Controlled Delay AQM (CODEL)"
  198. help
  199. Say Y here if you want to use the Controlled Delay (CODEL)
  200. packet scheduling algorithm.
  201. To compile this driver as a module, choose M here: the module
  202. will be called sch_codel.
  203. If unsure, say N.
  204. config NET_SCH_FQ_CODEL
  205. tristate "Fair Queue Controlled Delay AQM (FQ_CODEL)"
  206. help
  207. Say Y here if you want to use the FQ Controlled Delay (FQ_CODEL)
  208. packet scheduling algorithm.
  209. To compile this driver as a module, choose M here: the module
  210. will be called sch_fq_codel.
  211. If unsure, say N.
  212. config NET_SCH_FQ
  213. tristate "Fair Queue"
  214. help
  215. Say Y here if you want to use the FQ packet scheduling algorithm.
  216. FQ does flow separation, and is able to respect pacing requirements
  217. set by TCP stack into sk->sk_pacing_rate (for localy generated
  218. traffic)
  219. To compile this driver as a module, choose M here: the module
  220. will be called sch_fq.
  221. If unsure, say N.
  222. config NET_SCH_HHF
  223. tristate "Heavy-Hitter Filter (HHF)"
  224. help
  225. Say Y here if you want to use the Heavy-Hitter Filter (HHF)
  226. packet scheduling algorithm.
  227. To compile this driver as a module, choose M here: the module
  228. will be called sch_hhf.
  229. config NET_SCH_PIE
  230. tristate "Proportional Integral controller Enhanced (PIE) scheduler"
  231. help
  232. Say Y here if you want to use the Proportional Integral controller
  233. Enhanced scheduler packet scheduling algorithm.
  234. For more information, please see
  235. http://tools.ietf.org/html/draft-pan-tsvwg-pie-00
  236. To compile this driver as a module, choose M here: the module
  237. will be called sch_pie.
  238. If unsure, say N.
  239. config NET_SCH_INGRESS
  240. tristate "Ingress/classifier-action Qdisc"
  241. depends on NET_CLS_ACT
  242. select NET_INGRESS
  243. select NET_EGRESS
  244. ---help---
  245. Say Y here if you want to use classifiers for incoming and/or outgoing
  246. packets. This qdisc doesn't do anything else besides running classifiers,
  247. which can also have actions attached to them. In case of outgoing packets,
  248. classifiers that this qdisc holds are executed in the transmit path
  249. before real enqueuing to an egress qdisc happens.
  250. If unsure, say Y.
  251. To compile this code as a module, choose M here: the module will be
  252. called sch_ingress with alias of sch_clsact.
  253. config NET_SCH_PLUG
  254. tristate "Plug network traffic until release (PLUG)"
  255. ---help---
  256. This queuing discipline allows userspace to plug/unplug a network
  257. output queue, using the netlink interface. When it receives an
  258. enqueue command it inserts a plug into the outbound queue that
  259. causes following packets to enqueue until a dequeue command arrives
  260. over netlink, causing the plug to be removed and resuming the normal
  261. packet flow.
  262. This module also provides a generic "network output buffering"
  263. functionality (aka output commit), wherein upon arrival of a dequeue
  264. command, only packets up to the first plug are released for delivery.
  265. The Remus HA project uses this module to enable speculative execution
  266. of virtual machines by allowing the generated network output to be rolled
  267. back if needed.
  268. For more information, please refer to <http://wiki.xenproject.org/wiki/Remus>
  269. Say Y here if you are using this kernel for Xen dom0 and
  270. want to protect Xen guests with Remus.
  271. To compile this code as a module, choose M here: the
  272. module will be called sch_plug.
  273. menuconfig NET_SCH_DEFAULT
  274. bool "Allow override default queue discipline"
  275. ---help---
  276. Support for selection of default queuing discipline.
  277. Nearly all users can safely say no here, and the default
  278. of pfifo_fast will be used. Many distributions already set
  279. the default value via /proc/sys/net/core/default_qdisc.
  280. If unsure, say N.
  281. if NET_SCH_DEFAULT
  282. choice
  283. prompt "Default queuing discipline"
  284. default DEFAULT_PFIFO_FAST
  285. help
  286. Select the queueing discipline that will be used by default
  287. for all network devices.
  288. config DEFAULT_FQ
  289. bool "Fair Queue" if NET_SCH_FQ
  290. config DEFAULT_CODEL
  291. bool "Controlled Delay" if NET_SCH_CODEL
  292. config DEFAULT_FQ_CODEL
  293. bool "Fair Queue Controlled Delay" if NET_SCH_FQ_CODEL
  294. config DEFAULT_SFQ
  295. bool "Stochastic Fair Queue" if NET_SCH_SFQ
  296. config DEFAULT_PFIFO_FAST
  297. bool "Priority FIFO Fast"
  298. endchoice
  299. config DEFAULT_NET_SCH
  300. string
  301. default "pfifo_fast" if DEFAULT_PFIFO_FAST
  302. default "fq" if DEFAULT_FQ
  303. default "fq_codel" if DEFAULT_FQ_CODEL
  304. default "sfq" if DEFAULT_SFQ
  305. default "pfifo_fast"
  306. endif
  307. comment "Classification"
  308. config NET_CLS
  309. bool
  310. config NET_CLS_BASIC
  311. tristate "Elementary classification (BASIC)"
  312. select NET_CLS
  313. ---help---
  314. Say Y here if you want to be able to classify packets using
  315. only extended matches and actions.
  316. To compile this code as a module, choose M here: the
  317. module will be called cls_basic.
  318. config NET_CLS_TCINDEX
  319. tristate "Traffic-Control Index (TCINDEX)"
  320. select NET_CLS
  321. ---help---
  322. Say Y here if you want to be able to classify packets based on
  323. traffic control indices. You will want this feature if you want
  324. to implement Differentiated Services together with DSMARK.
  325. To compile this code as a module, choose M here: the
  326. module will be called cls_tcindex.
  327. config NET_CLS_ROUTE4
  328. tristate "Routing decision (ROUTE)"
  329. depends on INET
  330. select IP_ROUTE_CLASSID
  331. select NET_CLS
  332. ---help---
  333. If you say Y here, you will be able to classify packets
  334. according to the route table entry they matched.
  335. To compile this code as a module, choose M here: the
  336. module will be called cls_route.
  337. config NET_CLS_FW
  338. tristate "Netfilter mark (FW)"
  339. select NET_CLS
  340. ---help---
  341. If you say Y here, you will be able to classify packets
  342. according to netfilter/firewall marks.
  343. To compile this code as a module, choose M here: the
  344. module will be called cls_fw.
  345. config NET_CLS_U32
  346. tristate "Universal 32bit comparisons w/ hashing (U32)"
  347. select NET_CLS
  348. ---help---
  349. Say Y here to be able to classify packets using a universal
  350. 32bit pieces based comparison scheme.
  351. To compile this code as a module, choose M here: the
  352. module will be called cls_u32.
  353. config CLS_U32_PERF
  354. bool "Performance counters support"
  355. depends on NET_CLS_U32
  356. ---help---
  357. Say Y here to make u32 gather additional statistics useful for
  358. fine tuning u32 classifiers.
  359. config CLS_U32_MARK
  360. bool "Netfilter marks support"
  361. depends on NET_CLS_U32
  362. ---help---
  363. Say Y here to be able to use netfilter marks as u32 key.
  364. config NET_CLS_RSVP
  365. tristate "IPv4 Resource Reservation Protocol (RSVP)"
  366. select NET_CLS
  367. ---help---
  368. The Resource Reservation Protocol (RSVP) permits end systems to
  369. request a minimum and maximum data flow rate for a connection; this
  370. is important for real time data such as streaming sound or video.
  371. Say Y here if you want to be able to classify outgoing packets based
  372. on their RSVP requests.
  373. To compile this code as a module, choose M here: the
  374. module will be called cls_rsvp.
  375. config NET_CLS_RSVP6
  376. tristate "IPv6 Resource Reservation Protocol (RSVP6)"
  377. select NET_CLS
  378. ---help---
  379. The Resource Reservation Protocol (RSVP) permits end systems to
  380. request a minimum and maximum data flow rate for a connection; this
  381. is important for real time data such as streaming sound or video.
  382. Say Y here if you want to be able to classify outgoing packets based
  383. on their RSVP requests and you are using the IPv6 protocol.
  384. To compile this code as a module, choose M here: the
  385. module will be called cls_rsvp6.
  386. config NET_CLS_FLOW
  387. tristate "Flow classifier"
  388. select NET_CLS
  389. ---help---
  390. If you say Y here, you will be able to classify packets based on
  391. a configurable combination of packet keys. This is mostly useful
  392. in combination with SFQ.
  393. To compile this code as a module, choose M here: the
  394. module will be called cls_flow.
  395. config NET_CLS_CGROUP
  396. tristate "Control Group Classifier"
  397. select NET_CLS
  398. select CGROUP_NET_CLASSID
  399. depends on CGROUPS
  400. ---help---
  401. Say Y here if you want to classify packets based on the control
  402. cgroup of their process.
  403. To compile this code as a module, choose M here: the
  404. module will be called cls_cgroup.
  405. config NET_CLS_BPF
  406. tristate "BPF-based classifier"
  407. select NET_CLS
  408. ---help---
  409. If you say Y here, you will be able to classify packets based on
  410. programmable BPF (JIT'ed) filters as an alternative to ematches.
  411. To compile this code as a module, choose M here: the module will
  412. be called cls_bpf.
  413. config NET_CLS_FLOWER
  414. tristate "Flower classifier"
  415. select NET_CLS
  416. ---help---
  417. If you say Y here, you will be able to classify packets based on
  418. a configurable combination of packet keys and masks.
  419. To compile this code as a module, choose M here: the module will
  420. be called cls_flower.
  421. config NET_CLS_MATCHALL
  422. tristate "Match-all classifier"
  423. select NET_CLS
  424. ---help---
  425. If you say Y here, you will be able to classify packets based on
  426. nothing. Every packet will match.
  427. To compile this code as a module, choose M here: the module will
  428. be called cls_matchall.
  429. config NET_EMATCH
  430. bool "Extended Matches"
  431. select NET_CLS
  432. ---help---
  433. Say Y here if you want to use extended matches on top of classifiers
  434. and select the extended matches below.
  435. Extended matches are small classification helpers not worth writing
  436. a separate classifier for.
  437. A recent version of the iproute2 package is required to use
  438. extended matches.
  439. config NET_EMATCH_STACK
  440. int "Stack size"
  441. depends on NET_EMATCH
  442. default "32"
  443. ---help---
  444. Size of the local stack variable used while evaluating the tree of
  445. ematches. Limits the depth of the tree, i.e. the number of
  446. encapsulated precedences. Every level requires 4 bytes of additional
  447. stack space.
  448. config NET_EMATCH_CMP
  449. tristate "Simple packet data comparison"
  450. depends on NET_EMATCH
  451. ---help---
  452. Say Y here if you want to be able to classify packets based on
  453. simple packet data comparisons for 8, 16, and 32bit values.
  454. To compile this code as a module, choose M here: the
  455. module will be called em_cmp.
  456. config NET_EMATCH_NBYTE
  457. tristate "Multi byte comparison"
  458. depends on NET_EMATCH
  459. ---help---
  460. Say Y here if you want to be able to classify packets based on
  461. multiple byte comparisons mainly useful for IPv6 address comparisons.
  462. To compile this code as a module, choose M here: the
  463. module will be called em_nbyte.
  464. config NET_EMATCH_U32
  465. tristate "U32 key"
  466. depends on NET_EMATCH
  467. ---help---
  468. Say Y here if you want to be able to classify packets using
  469. the famous u32 key in combination with logic relations.
  470. To compile this code as a module, choose M here: the
  471. module will be called em_u32.
  472. config NET_EMATCH_META
  473. tristate "Metadata"
  474. depends on NET_EMATCH
  475. ---help---
  476. Say Y here if you want to be able to classify packets based on
  477. metadata such as load average, netfilter attributes, socket
  478. attributes and routing decisions.
  479. To compile this code as a module, choose M here: the
  480. module will be called em_meta.
  481. config NET_EMATCH_TEXT
  482. tristate "Textsearch"
  483. depends on NET_EMATCH
  484. select TEXTSEARCH
  485. select TEXTSEARCH_KMP
  486. select TEXTSEARCH_BM
  487. select TEXTSEARCH_FSM
  488. ---help---
  489. Say Y here if you want to be able to classify packets based on
  490. textsearch comparisons.
  491. To compile this code as a module, choose M here: the
  492. module will be called em_text.
  493. config NET_EMATCH_CANID
  494. tristate "CAN Identifier"
  495. depends on NET_EMATCH && (CAN=y || CAN=m)
  496. ---help---
  497. Say Y here if you want to be able to classify CAN frames based
  498. on CAN Identifier.
  499. To compile this code as a module, choose M here: the
  500. module will be called em_canid.
  501. config NET_EMATCH_IPSET
  502. tristate "IPset"
  503. depends on NET_EMATCH && IP_SET
  504. ---help---
  505. Say Y here if you want to be able to classify packets based on
  506. ipset membership.
  507. To compile this code as a module, choose M here: the
  508. module will be called em_ipset.
  509. config NET_CLS_ACT
  510. bool "Actions"
  511. select NET_CLS
  512. ---help---
  513. Say Y here if you want to use traffic control actions. Actions
  514. get attached to classifiers and are invoked after a successful
  515. classification. They are used to overwrite the classification
  516. result, instantly drop or redirect packets, etc.
  517. A recent version of the iproute2 package is required to use
  518. extended matches.
  519. config NET_ACT_POLICE
  520. tristate "Traffic Policing"
  521. depends on NET_CLS_ACT
  522. ---help---
  523. Say Y here if you want to do traffic policing, i.e. strict
  524. bandwidth limiting. This action replaces the existing policing
  525. module.
  526. To compile this code as a module, choose M here: the
  527. module will be called act_police.
  528. config NET_ACT_GACT
  529. tristate "Generic actions"
  530. depends on NET_CLS_ACT
  531. ---help---
  532. Say Y here to take generic actions such as dropping and
  533. accepting packets.
  534. To compile this code as a module, choose M here: the
  535. module will be called act_gact.
  536. config GACT_PROB
  537. bool "Probability support"
  538. depends on NET_ACT_GACT
  539. ---help---
  540. Say Y here to use the generic action randomly or deterministically.
  541. config NET_ACT_MIRRED
  542. tristate "Redirecting and Mirroring"
  543. depends on NET_CLS_ACT
  544. ---help---
  545. Say Y here to allow packets to be mirrored or redirected to
  546. other devices.
  547. To compile this code as a module, choose M here: the
  548. module will be called act_mirred.
  549. config NET_ACT_SAMPLE
  550. tristate "Traffic Sampling"
  551. depends on NET_CLS_ACT
  552. select PSAMPLE
  553. ---help---
  554. Say Y here to allow packet sampling tc action. The packet sample
  555. action consists of statistically choosing packets and sampling
  556. them using the psample module.
  557. To compile this code as a module, choose M here: the
  558. module will be called act_sample.
  559. config NET_ACT_IPT
  560. tristate "IPtables targets"
  561. depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
  562. ---help---
  563. Say Y here to be able to invoke iptables targets after successful
  564. classification.
  565. To compile this code as a module, choose M here: the
  566. module will be called act_ipt.
  567. config NET_ACT_NAT
  568. tristate "Stateless NAT"
  569. depends on NET_CLS_ACT
  570. ---help---
  571. Say Y here to do stateless NAT on IPv4 packets. You should use
  572. netfilter for NAT unless you know what you are doing.
  573. To compile this code as a module, choose M here: the
  574. module will be called act_nat.
  575. config NET_ACT_PEDIT
  576. tristate "Packet Editing"
  577. depends on NET_CLS_ACT
  578. ---help---
  579. Say Y here if you want to mangle the content of packets.
  580. To compile this code as a module, choose M here: the
  581. module will be called act_pedit.
  582. config NET_ACT_SIMP
  583. tristate "Simple Example (Debug)"
  584. depends on NET_CLS_ACT
  585. ---help---
  586. Say Y here to add a simple action for demonstration purposes.
  587. It is meant as an example and for debugging purposes. It will
  588. print a configured policy string followed by the packet count
  589. to the console for every packet that passes by.
  590. If unsure, say N.
  591. To compile this code as a module, choose M here: the
  592. module will be called act_simple.
  593. config NET_ACT_SKBEDIT
  594. tristate "SKB Editing"
  595. depends on NET_CLS_ACT
  596. ---help---
  597. Say Y here to change skb priority or queue_mapping settings.
  598. If unsure, say N.
  599. To compile this code as a module, choose M here: the
  600. module will be called act_skbedit.
  601. config NET_ACT_CSUM
  602. tristate "Checksum Updating"
  603. depends on NET_CLS_ACT && INET
  604. select LIBCRC32C
  605. ---help---
  606. Say Y here to update some common checksum after some direct
  607. packet alterations.
  608. To compile this code as a module, choose M here: the
  609. module will be called act_csum.
  610. config NET_ACT_VLAN
  611. tristate "Vlan manipulation"
  612. depends on NET_CLS_ACT
  613. ---help---
  614. Say Y here to push or pop vlan headers.
  615. If unsure, say N.
  616. To compile this code as a module, choose M here: the
  617. module will be called act_vlan.
  618. config NET_ACT_BPF
  619. tristate "BPF based action"
  620. depends on NET_CLS_ACT
  621. ---help---
  622. Say Y here to execute BPF code on packets. The BPF code will decide
  623. if the packet should be dropped or not.
  624. If unsure, say N.
  625. To compile this code as a module, choose M here: the
  626. module will be called act_bpf.
  627. config NET_ACT_CONNMARK
  628. tristate "Netfilter Connection Mark Retriever"
  629. depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
  630. depends on NF_CONNTRACK && NF_CONNTRACK_MARK
  631. ---help---
  632. Say Y here to allow retrieving of conn mark
  633. If unsure, say N.
  634. To compile this code as a module, choose M here: the
  635. module will be called act_connmark.
  636. config NET_ACT_SKBMOD
  637. tristate "skb data modification action"
  638. depends on NET_CLS_ACT
  639. ---help---
  640. Say Y here to allow modification of skb data
  641. If unsure, say N.
  642. To compile this code as a module, choose M here: the
  643. module will be called act_skbmod.
  644. config NET_ACT_IFE
  645. tristate "Inter-FE action based on IETF ForCES InterFE LFB"
  646. depends on NET_CLS_ACT
  647. select NET_IFE
  648. ---help---
  649. Say Y here to allow for sourcing and terminating metadata
  650. For details refer to netdev01 paper:
  651. "Distributing Linux Traffic Control Classifier-Action Subsystem"
  652. Authors: Jamal Hadi Salim and Damascene M. Joachimpillai
  653. To compile this code as a module, choose M here: the
  654. module will be called act_ife.
  655. config NET_ACT_TUNNEL_KEY
  656. tristate "IP tunnel metadata manipulation"
  657. depends on NET_CLS_ACT
  658. ---help---
  659. Say Y here to set/release ip tunnel metadata.
  660. If unsure, say N.
  661. To compile this code as a module, choose M here: the
  662. module will be called act_tunnel_key.
  663. config NET_IFE_SKBMARK
  664. tristate "Support to encoding decoding skb mark on IFE action"
  665. depends on NET_ACT_IFE
  666. ---help---
  667. config NET_IFE_SKBPRIO
  668. tristate "Support to encoding decoding skb prio on IFE action"
  669. depends on NET_ACT_IFE
  670. ---help---
  671. config NET_IFE_SKBTCINDEX
  672. tristate "Support to encoding decoding skb tcindex on IFE action"
  673. depends on NET_ACT_IFE
  674. ---help---
  675. config NET_CLS_IND
  676. bool "Incoming device classification"
  677. depends on NET_CLS_U32 || NET_CLS_FW
  678. ---help---
  679. Say Y here to extend the u32 and fw classifier to support
  680. classification based on the incoming device. This option is
  681. likely to disappear in favour of the metadata ematch.
  682. endif # NET_SCHED
  683. config NET_SCH_FIFO
  684. bool