Kconfig 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  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. comment "Classification"
  274. config NET_CLS
  275. bool
  276. config NET_CLS_BASIC
  277. tristate "Elementary classification (BASIC)"
  278. select NET_CLS
  279. ---help---
  280. Say Y here if you want to be able to classify packets using
  281. only extended matches and actions.
  282. To compile this code as a module, choose M here: the
  283. module will be called cls_basic.
  284. config NET_CLS_TCINDEX
  285. tristate "Traffic-Control Index (TCINDEX)"
  286. select NET_CLS
  287. ---help---
  288. Say Y here if you want to be able to classify packets based on
  289. traffic control indices. You will want this feature if you want
  290. to implement Differentiated Services together with DSMARK.
  291. To compile this code as a module, choose M here: the
  292. module will be called cls_tcindex.
  293. config NET_CLS_ROUTE4
  294. tristate "Routing decision (ROUTE)"
  295. depends on INET
  296. select IP_ROUTE_CLASSID
  297. select NET_CLS
  298. ---help---
  299. If you say Y here, you will be able to classify packets
  300. according to the route table entry they matched.
  301. To compile this code as a module, choose M here: the
  302. module will be called cls_route.
  303. config NET_CLS_FW
  304. tristate "Netfilter mark (FW)"
  305. select NET_CLS
  306. ---help---
  307. If you say Y here, you will be able to classify packets
  308. according to netfilter/firewall marks.
  309. To compile this code as a module, choose M here: the
  310. module will be called cls_fw.
  311. config NET_CLS_U32
  312. tristate "Universal 32bit comparisons w/ hashing (U32)"
  313. select NET_CLS
  314. ---help---
  315. Say Y here to be able to classify packets using a universal
  316. 32bit pieces based comparison scheme.
  317. To compile this code as a module, choose M here: the
  318. module will be called cls_u32.
  319. config CLS_U32_PERF
  320. bool "Performance counters support"
  321. depends on NET_CLS_U32
  322. ---help---
  323. Say Y here to make u32 gather additional statistics useful for
  324. fine tuning u32 classifiers.
  325. config CLS_U32_MARK
  326. bool "Netfilter marks support"
  327. depends on NET_CLS_U32
  328. ---help---
  329. Say Y here to be able to use netfilter marks as u32 key.
  330. config NET_CLS_RSVP
  331. tristate "IPv4 Resource Reservation Protocol (RSVP)"
  332. select NET_CLS
  333. ---help---
  334. The Resource Reservation Protocol (RSVP) permits end systems to
  335. request a minimum and maximum data flow rate for a connection; this
  336. is important for real time data such as streaming sound or video.
  337. Say Y here if you want to be able to classify outgoing packets based
  338. on their RSVP requests.
  339. To compile this code as a module, choose M here: the
  340. module will be called cls_rsvp.
  341. config NET_CLS_RSVP6
  342. tristate "IPv6 Resource Reservation Protocol (RSVP6)"
  343. select NET_CLS
  344. ---help---
  345. The Resource Reservation Protocol (RSVP) permits end systems to
  346. request a minimum and maximum data flow rate for a connection; this
  347. is important for real time data such as streaming sound or video.
  348. Say Y here if you want to be able to classify outgoing packets based
  349. on their RSVP requests and you are using the IPv6 protocol.
  350. To compile this code as a module, choose M here: the
  351. module will be called cls_rsvp6.
  352. config NET_CLS_FLOW
  353. tristate "Flow classifier"
  354. select NET_CLS
  355. ---help---
  356. If you say Y here, you will be able to classify packets based on
  357. a configurable combination of packet keys. This is mostly useful
  358. in combination with SFQ.
  359. To compile this code as a module, choose M here: the
  360. module will be called cls_flow.
  361. config NET_CLS_CGROUP
  362. tristate "Control Group Classifier"
  363. select NET_CLS
  364. select CGROUP_NET_CLASSID
  365. depends on CGROUPS
  366. ---help---
  367. Say Y here if you want to classify packets based on the control
  368. cgroup of their process.
  369. To compile this code as a module, choose M here: the
  370. module will be called cls_cgroup.
  371. config NET_CLS_BPF
  372. tristate "BPF-based classifier"
  373. select NET_CLS
  374. ---help---
  375. If you say Y here, you will be able to classify packets based on
  376. programmable BPF (JIT'ed) filters as an alternative to ematches.
  377. To compile this code as a module, choose M here: the module will
  378. be called cls_bpf.
  379. config NET_CLS_FLOWER
  380. tristate "Flower classifier"
  381. select NET_CLS
  382. ---help---
  383. If you say Y here, you will be able to classify packets based on
  384. a configurable combination of packet keys and masks.
  385. To compile this code as a module, choose M here: the module will
  386. be called cls_flower.
  387. config NET_CLS_MATCHALL
  388. tristate "Match-all classifier"
  389. select NET_CLS
  390. ---help---
  391. If you say Y here, you will be able to classify packets based on
  392. nothing. Every packet will match.
  393. To compile this code as a module, choose M here: the module will
  394. be called cls_matchall.
  395. config NET_EMATCH
  396. bool "Extended Matches"
  397. select NET_CLS
  398. ---help---
  399. Say Y here if you want to use extended matches on top of classifiers
  400. and select the extended matches below.
  401. Extended matches are small classification helpers not worth writing
  402. a separate classifier for.
  403. A recent version of the iproute2 package is required to use
  404. extended matches.
  405. config NET_EMATCH_STACK
  406. int "Stack size"
  407. depends on NET_EMATCH
  408. default "32"
  409. ---help---
  410. Size of the local stack variable used while evaluating the tree of
  411. ematches. Limits the depth of the tree, i.e. the number of
  412. encapsulated precedences. Every level requires 4 bytes of additional
  413. stack space.
  414. config NET_EMATCH_CMP
  415. tristate "Simple packet data comparison"
  416. depends on NET_EMATCH
  417. ---help---
  418. Say Y here if you want to be able to classify packets based on
  419. simple packet data comparisons for 8, 16, and 32bit values.
  420. To compile this code as a module, choose M here: the
  421. module will be called em_cmp.
  422. config NET_EMATCH_NBYTE
  423. tristate "Multi byte comparison"
  424. depends on NET_EMATCH
  425. ---help---
  426. Say Y here if you want to be able to classify packets based on
  427. multiple byte comparisons mainly useful for IPv6 address comparisons.
  428. To compile this code as a module, choose M here: the
  429. module will be called em_nbyte.
  430. config NET_EMATCH_U32
  431. tristate "U32 key"
  432. depends on NET_EMATCH
  433. ---help---
  434. Say Y here if you want to be able to classify packets using
  435. the famous u32 key in combination with logic relations.
  436. To compile this code as a module, choose M here: the
  437. module will be called em_u32.
  438. config NET_EMATCH_META
  439. tristate "Metadata"
  440. depends on NET_EMATCH
  441. ---help---
  442. Say Y here if you want to be able to classify packets based on
  443. metadata such as load average, netfilter attributes, socket
  444. attributes and routing decisions.
  445. To compile this code as a module, choose M here: the
  446. module will be called em_meta.
  447. config NET_EMATCH_TEXT
  448. tristate "Textsearch"
  449. depends on NET_EMATCH
  450. select TEXTSEARCH
  451. select TEXTSEARCH_KMP
  452. select TEXTSEARCH_BM
  453. select TEXTSEARCH_FSM
  454. ---help---
  455. Say Y here if you want to be able to classify packets based on
  456. textsearch comparisons.
  457. To compile this code as a module, choose M here: the
  458. module will be called em_text.
  459. config NET_EMATCH_CANID
  460. tristate "CAN Identifier"
  461. depends on NET_EMATCH && (CAN=y || CAN=m)
  462. ---help---
  463. Say Y here if you want to be able to classify CAN frames based
  464. on CAN Identifier.
  465. To compile this code as a module, choose M here: the
  466. module will be called em_canid.
  467. config NET_EMATCH_IPSET
  468. tristate "IPset"
  469. depends on NET_EMATCH && IP_SET
  470. ---help---
  471. Say Y here if you want to be able to classify packets based on
  472. ipset membership.
  473. To compile this code as a module, choose M here: the
  474. module will be called em_ipset.
  475. config NET_CLS_ACT
  476. bool "Actions"
  477. ---help---
  478. Say Y here if you want to use traffic control actions. Actions
  479. get attached to classifiers and are invoked after a successful
  480. classification. They are used to overwrite the classification
  481. result, instantly drop or redirect packets, etc.
  482. A recent version of the iproute2 package is required to use
  483. extended matches.
  484. config NET_ACT_POLICE
  485. tristate "Traffic Policing"
  486. depends on NET_CLS_ACT
  487. ---help---
  488. Say Y here if you want to do traffic policing, i.e. strict
  489. bandwidth limiting. This action replaces the existing policing
  490. module.
  491. To compile this code as a module, choose M here: the
  492. module will be called act_police.
  493. config NET_ACT_GACT
  494. tristate "Generic actions"
  495. depends on NET_CLS_ACT
  496. ---help---
  497. Say Y here to take generic actions such as dropping and
  498. accepting packets.
  499. To compile this code as a module, choose M here: the
  500. module will be called act_gact.
  501. config GACT_PROB
  502. bool "Probability support"
  503. depends on NET_ACT_GACT
  504. ---help---
  505. Say Y here to use the generic action randomly or deterministically.
  506. config NET_ACT_MIRRED
  507. tristate "Redirecting and Mirroring"
  508. depends on NET_CLS_ACT
  509. ---help---
  510. Say Y here to allow packets to be mirrored or redirected to
  511. other devices.
  512. To compile this code as a module, choose M here: the
  513. module will be called act_mirred.
  514. config NET_ACT_IPT
  515. tristate "IPtables targets"
  516. depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
  517. ---help---
  518. Say Y here to be able to invoke iptables targets after successful
  519. classification.
  520. To compile this code as a module, choose M here: the
  521. module will be called act_ipt.
  522. config NET_ACT_NAT
  523. tristate "Stateless NAT"
  524. depends on NET_CLS_ACT
  525. ---help---
  526. Say Y here to do stateless NAT on IPv4 packets. You should use
  527. netfilter for NAT unless you know what you are doing.
  528. To compile this code as a module, choose M here: the
  529. module will be called act_nat.
  530. config NET_ACT_PEDIT
  531. tristate "Packet Editing"
  532. depends on NET_CLS_ACT
  533. ---help---
  534. Say Y here if you want to mangle the content of packets.
  535. To compile this code as a module, choose M here: the
  536. module will be called act_pedit.
  537. config NET_ACT_SIMP
  538. tristate "Simple Example (Debug)"
  539. depends on NET_CLS_ACT
  540. ---help---
  541. Say Y here to add a simple action for demonstration purposes.
  542. It is meant as an example and for debugging purposes. It will
  543. print a configured policy string followed by the packet count
  544. to the console for every packet that passes by.
  545. If unsure, say N.
  546. To compile this code as a module, choose M here: the
  547. module will be called act_simple.
  548. config NET_ACT_SKBEDIT
  549. tristate "SKB Editing"
  550. depends on NET_CLS_ACT
  551. ---help---
  552. Say Y here to change skb priority or queue_mapping settings.
  553. If unsure, say N.
  554. To compile this code as a module, choose M here: the
  555. module will be called act_skbedit.
  556. config NET_ACT_CSUM
  557. tristate "Checksum Updating"
  558. depends on NET_CLS_ACT && INET
  559. ---help---
  560. Say Y here to update some common checksum after some direct
  561. packet alterations.
  562. To compile this code as a module, choose M here: the
  563. module will be called act_csum.
  564. config NET_ACT_VLAN
  565. tristate "Vlan manipulation"
  566. depends on NET_CLS_ACT
  567. ---help---
  568. Say Y here to push or pop vlan headers.
  569. If unsure, say N.
  570. To compile this code as a module, choose M here: the
  571. module will be called act_vlan.
  572. config NET_ACT_BPF
  573. tristate "BPF based action"
  574. depends on NET_CLS_ACT
  575. ---help---
  576. Say Y here to execute BPF code on packets. The BPF code will decide
  577. if the packet should be dropped or not.
  578. If unsure, say N.
  579. To compile this code as a module, choose M here: the
  580. module will be called act_bpf.
  581. config NET_ACT_CONNMARK
  582. tristate "Netfilter Connection Mark Retriever"
  583. depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
  584. depends on NF_CONNTRACK && NF_CONNTRACK_MARK
  585. ---help---
  586. Say Y here to allow retrieving of conn mark
  587. If unsure, say N.
  588. To compile this code as a module, choose M here: the
  589. module will be called act_connmark.
  590. config NET_ACT_SKBMOD
  591. tristate "skb data modification action"
  592. depends on NET_CLS_ACT
  593. ---help---
  594. Say Y here to allow modification of skb data
  595. If unsure, say N.
  596. To compile this code as a module, choose M here: the
  597. module will be called act_skbmod.
  598. config NET_ACT_IFE
  599. tristate "Inter-FE action based on IETF ForCES InterFE LFB"
  600. depends on NET_CLS_ACT
  601. ---help---
  602. Say Y here to allow for sourcing and terminating metadata
  603. For details refer to netdev01 paper:
  604. "Distributing Linux Traffic Control Classifier-Action Subsystem"
  605. Authors: Jamal Hadi Salim and Damascene M. Joachimpillai
  606. To compile this code as a module, choose M here: the
  607. module will be called act_ife.
  608. config NET_ACT_TUNNEL_KEY
  609. tristate "IP tunnel metadata manipulation"
  610. depends on NET_CLS_ACT
  611. ---help---
  612. Say Y here to set/release ip tunnel metadata.
  613. If unsure, say N.
  614. To compile this code as a module, choose M here: the
  615. module will be called act_tunnel_key.
  616. config NET_IFE_SKBMARK
  617. tristate "Support to encoding decoding skb mark on IFE action"
  618. depends on NET_ACT_IFE
  619. ---help---
  620. config NET_IFE_SKBPRIO
  621. tristate "Support to encoding decoding skb prio on IFE action"
  622. depends on NET_ACT_IFE
  623. ---help---
  624. config NET_IFE_SKBTCINDEX
  625. tristate "Support to encoding decoding skb tcindex on IFE action"
  626. depends on NET_ACT_IFE
  627. ---help---
  628. config NET_CLS_IND
  629. bool "Incoming device classification"
  630. depends on NET_CLS_U32 || NET_CLS_FW
  631. ---help---
  632. Say Y here to extend the u32 and fw classifier to support
  633. classification based on the incoming device. This option is
  634. likely to disappear in favour of the metadata ematch.
  635. endif # NET_SCHED
  636. config NET_SCH_FIFO
  637. bool