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