xref: /linux/net/Kconfig (revision 08848246639218ae58acdf3321bc7b693062f31c)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Network configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5031cf19eSRobert P. J. Daymenuconfig NET
61da177e4SLinus Torvalds	bool "Networking support"
7e9cc8bddSGeert Uytterhoeven	select NLATTR
84cd5773aSAndy Shevchenko	select GENERIC_NET_UTILS
9f89b7755SAlexei Starovoitov	select BPF
101da177e4SLinus Torvalds	---help---
111da177e4SLinus Torvalds	  Unless you really know what you are doing, you should say Y here.
121da177e4SLinus Torvalds	  The reason is that some programs need kernel networking support even
131da177e4SLinus Torvalds	  when running on a stand-alone machine that isn't connected to any
14d5950b43SSam Ravnborg	  other computer.
15d5950b43SSam Ravnborg
16d5950b43SSam Ravnborg	  If you are upgrading from an older kernel, you
171da177e4SLinus Torvalds	  should consider updating your networking tools too because changes
181da177e4SLinus Torvalds	  in the kernel and the tools often go hand in hand. The tools are
191da177e4SLinus Torvalds	  contained in the package net-tools, the location and version number
201da177e4SLinus Torvalds	  of which are given in <file:Documentation/Changes>.
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds	  For a general introduction to Linux networking, it is highly
231da177e4SLinus Torvalds	  recommended to read the NET-HOWTO, available from
241da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>.
251da177e4SLinus Torvalds
266a2e9b73SSam Ravnborgif NET
276a2e9b73SSam Ravnborg
281dacc76dSJohannes Bergconfig WANT_COMPAT_NETLINK_MESSAGES
291dacc76dSJohannes Berg	bool
301dacc76dSJohannes Berg	help
311dacc76dSJohannes Berg	  This option can be selected by other options that need compat
321dacc76dSJohannes Berg	  netlink messages.
331dacc76dSJohannes Berg
341dacc76dSJohannes Bergconfig COMPAT_NETLINK_MESSAGES
351dacc76dSJohannes Berg	def_bool y
361dacc76dSJohannes Berg	depends on COMPAT
3740b53d8aSDavid S. Miller	depends on WEXT_CORE || WANT_COMPAT_NETLINK_MESSAGES
381dacc76dSJohannes Berg	help
391dacc76dSJohannes Berg	  This option makes it possible to send different netlink messages
401dacc76dSJohannes Berg	  to tasks depending on whether the task is a compat task or not. To
411dacc76dSJohannes Berg	  achieve this, you need to set skb_shinfo(skb)->frag_list to the
421dacc76dSJohannes Berg	  compat skb before sending the skb, the netlink code will sort out
431dacc76dSJohannes Berg	  which message to actually pass to the task.
441dacc76dSJohannes Berg
451dacc76dSJohannes Berg	  Newly written code should NEVER need this option but do
461dacc76dSJohannes Berg	  compat-independent messages instead!
471dacc76dSJohannes Berg
481cf51900SPablo Neiraconfig NET_INGRESS
491cf51900SPablo Neira	bool
501cf51900SPablo Neira
511f211a1bSDaniel Borkmannconfig NET_EGRESS
521f211a1bSDaniel Borkmann	bool
531f211a1bSDaniel Borkmann
541da177e4SLinus Torvaldsmenu "Networking options"
551da177e4SLinus Torvalds
566a2e9b73SSam Ravnborgsource "net/packet/Kconfig"
576a2e9b73SSam Ravnborgsource "net/unix/Kconfig"
583c4d7559SDave Watsonsource "net/tls/Kconfig"
596a2e9b73SSam Ravnborgsource "net/xfrm/Kconfig"
602356f4cbSMartin Schwidefskysource "net/iucv/Kconfig"
61ac713874SUrsula Braunsource "net/smc/Kconfig"
621da177e4SLinus Torvalds
631da177e4SLinus Torvaldsconfig INET
641da177e4SLinus Torvalds	bool "TCP/IP networking"
65798b2cbfSDavid S. Miller	select CRYPTO
66798b2cbfSDavid S. Miller	select CRYPTO_AES
671da177e4SLinus Torvalds	---help---
681da177e4SLinus Torvalds	  These are the protocols used on the Internet and on most local
691da177e4SLinus Torvalds	  Ethernets. It is highly recommended to say Y here (this will enlarge
70cf80efc2SYOSHIFUJI Hideaki	  your kernel by about 400 KB), since some programs (e.g. the X window
711da177e4SLinus Torvalds	  system) use TCP/IP even if your machine is not connected to any
721da177e4SLinus Torvalds	  other computer. You will get the so-called loopback device which
731da177e4SLinus Torvalds	  allows you to ping yourself (great fun, that!).
741da177e4SLinus Torvalds
751da177e4SLinus Torvalds	  For an excellent introduction to Linux networking, please read the
761da177e4SLinus Torvalds	  Linux Networking HOWTO, available from
771da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>.
781da177e4SLinus Torvalds
791da177e4SLinus Torvalds	  If you say Y here and also to "/proc file system support" and
801da177e4SLinus Torvalds	  "Sysctl support" below, you can change various aspects of the
811da177e4SLinus Torvalds	  behavior of the TCP/IP code by writing to the (virtual) files in
821da177e4SLinus Torvalds	  /proc/sys/net/ipv4/*; the options are explained in the file
831da177e4SLinus Torvalds	  <file:Documentation/networking/ip-sysctl.txt>.
841da177e4SLinus Torvalds
851da177e4SLinus Torvalds	  Short answer: say Y.
861da177e4SLinus Torvalds
876a2e9b73SSam Ravnborgif INET
881da177e4SLinus Torvaldssource "net/ipv4/Kconfig"
891da177e4SLinus Torvaldssource "net/ipv6/Kconfig"
9038c94377SPaul Mooresource "net/netlabel/Kconfig"
911da177e4SLinus Torvalds
926a2e9b73SSam Ravnborgendif # if INET
936a2e9b73SSam Ravnborg
94984bc16cSJames Morrisconfig NETWORK_SECMARK
95984bc16cSJames Morris	bool "Security Marking"
96984bc16cSJames Morris	help
97984bc16cSJames Morris	  This enables security marking of network packets, similar
98984bc16cSJames Morris	  to nfmark, but designated for security purposes.
99984bc16cSJames Morris	  If you are unsure how to answer this question, answer N.
100984bc16cSJames Morris
101408eccceSDaniel Borkmannconfig NET_PTP_CLASSIFY
102408eccceSDaniel Borkmann	def_bool n
103408eccceSDaniel Borkmann
104c1f19b51SRichard Cochranconfig NETWORK_PHY_TIMESTAMPING
105c1f19b51SRichard Cochran	bool "Timestamping in PHY devices"
106408eccceSDaniel Borkmann	select NET_PTP_CLASSIFY
107c1f19b51SRichard Cochran	help
108c1f19b51SRichard Cochran	  This allows timestamping of network packets by PHYs with
109c1f19b51SRichard Cochran	  hardware timestamping capabilities. This option adds some
110c1f19b51SRichard Cochran	  overhead in the transmit and receive paths.
111c1f19b51SRichard Cochran
112c1f19b51SRichard Cochran	  If you are unsure how to answer this question, answer N.
113c1f19b51SRichard Cochran
1141da177e4SLinus Torvaldsmenuconfig NETFILTER
115ef91fd52SPablo Neira Ayuso	bool "Network packet filtering framework (Netfilter)"
1161da177e4SLinus Torvalds	---help---
1171da177e4SLinus Torvalds	  Netfilter is a framework for filtering and mangling network packets
1181da177e4SLinus Torvalds	  that pass through your Linux box.
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvalds	  The most common use of packet filtering is to run your Linux box as
1211da177e4SLinus Torvalds	  a firewall protecting a local network from the Internet. The type of
1221da177e4SLinus Torvalds	  firewall provided by this kernel support is called a "packet
1231da177e4SLinus Torvalds	  filter", which means that it can reject individual network packets
1241da177e4SLinus Torvalds	  based on type, source, destination etc. The other kind of firewall,
1251da177e4SLinus Torvalds	  a "proxy-based" one, is more secure but more intrusive and more
1261da177e4SLinus Torvalds	  bothersome to set up; it inspects the network traffic much more
1271da177e4SLinus Torvalds	  closely, modifies it and has knowledge about the higher level
1281da177e4SLinus Torvalds	  protocols, which a packet filter lacks. Moreover, proxy-based
1291da177e4SLinus Torvalds	  firewalls often require changes to the programs running on the local
1301da177e4SLinus Torvalds	  clients. Proxy-based firewalls don't need support by the kernel, but
1311da177e4SLinus Torvalds	  they are often combined with a packet filter, which only works if
1321da177e4SLinus Torvalds	  you say Y here.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvalds	  You should also say Y here if you intend to use your Linux box as
1351da177e4SLinus Torvalds	  the gateway to the Internet for a local network of machines without
1361da177e4SLinus Torvalds	  globally valid IP addresses. This is called "masquerading": if one
1371da177e4SLinus Torvalds	  of the computers on your local network wants to send something to
1381da177e4SLinus Torvalds	  the outside, your box can "masquerade" as that computer, i.e. it
1391da177e4SLinus Torvalds	  forwards the traffic to the intended outside destination, but
1401da177e4SLinus Torvalds	  modifies the packets to make it look like they came from the
1411da177e4SLinus Torvalds	  firewall box itself. It works both ways: if the outside host
1421da177e4SLinus Torvalds	  replies, the Linux box will silently forward the traffic to the
1431da177e4SLinus Torvalds	  correct local computer. This way, the computers on your local net
1441da177e4SLinus Torvalds	  are completely invisible to the outside world, even though they can
1451da177e4SLinus Torvalds	  reach the outside and can receive replies. It is even possible to
1461da177e4SLinus Torvalds	  run globally visible servers from within a masqueraded local network
1471da177e4SLinus Torvalds	  using a mechanism called portforwarding. Masquerading is also often
1481da177e4SLinus Torvalds	  called NAT (Network Address Translation).
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvalds	  Another use of Netfilter is in transparent proxying: if a machine on
1511da177e4SLinus Torvalds	  the local network tries to connect to an outside host, your Linux
1521da177e4SLinus Torvalds	  box can transparently forward the traffic to a local server,
1531da177e4SLinus Torvalds	  typically a caching proxy server.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  Yet another use of Netfilter is building a bridging firewall. Using
1561da177e4SLinus Torvalds	  a bridge with Network packet filtering enabled makes iptables "see"
1571da177e4SLinus Torvalds	  the bridged traffic. For filtering on the lower network and Ethernet
1581da177e4SLinus Torvalds	  protocols over the bridge, use ebtables (under bridge netfilter
1591da177e4SLinus Torvalds	  configuration).
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	  Various modules exist for netfilter which replace the previous
1621da177e4SLinus Torvalds	  masquerading (ipmasqadm), packet filtering (ipchains), transparent
1631da177e4SLinus Torvalds	  proxying, and portforwarding mechanisms. Please see
1641da177e4SLinus Torvalds	  <file:Documentation/Changes> under "iptables" for the location of
1651da177e4SLinus Torvalds	  these packages.
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsif NETFILTER
1681da177e4SLinus Torvalds
1691da177e4SLinus Torvaldsconfig NETFILTER_DEBUG
1701da177e4SLinus Torvalds	bool "Network packet filtering debugging"
1711da177e4SLinus Torvalds	depends on NETFILTER
1721da177e4SLinus Torvalds	help
1731da177e4SLinus Torvalds	  You can say Y here if you want to get additional messages useful in
1741da177e4SLinus Torvalds	  debugging the netfilter code.
1751da177e4SLinus Torvalds
17633b8e776SPatrick McHardyconfig NETFILTER_ADVANCED
17733b8e776SPatrick McHardy	bool "Advanced netfilter configuration"
17833b8e776SPatrick McHardy	depends on NETFILTER
17933b8e776SPatrick McHardy	default y
18033b8e776SPatrick McHardy	help
18133b8e776SPatrick McHardy	  If you say Y here you can select between all the netfilter modules.
182692105b8SMatt LaPlante	  If you say N the more unusual ones will not be shown and the
18333b8e776SPatrick McHardy	  basic ones needed by most people will default to 'M'.
18433b8e776SPatrick McHardy
18533b8e776SPatrick McHardy	  If unsure, say Y.
18633b8e776SPatrick McHardy
1871da177e4SLinus Torvaldsconfig BRIDGE_NETFILTER
18834666d46SPablo Neira Ayuso	tristate "Bridged IP/ARP packets filtering"
18957f5877cSFlorian Westphal	depends on BRIDGE
19034666d46SPablo Neira Ayuso	depends on NETFILTER && INET
19133b8e776SPatrick McHardy	depends on NETFILTER_ADVANCED
19234666d46SPablo Neira Ayuso	default m
1931da177e4SLinus Torvalds	---help---
1941da177e4SLinus Torvalds	  Enabling this option will let arptables resp. iptables see bridged
1951da177e4SLinus Torvalds	  ARP resp. IP traffic. If you want a bridging firewall, you probably
1961da177e4SLinus Torvalds	  want this option enabled.
1971da177e4SLinus Torvalds	  Enabling or disabling this option doesn't enable or disable
1981da177e4SLinus Torvalds	  ebtables.
1991da177e4SLinus Torvalds
2001da177e4SLinus Torvalds	  If unsure, say N.
2011da177e4SLinus Torvalds
2029eb0eec7SHarald Weltesource "net/netfilter/Kconfig"
2031da177e4SLinus Torvaldssource "net/ipv4/netfilter/Kconfig"
2041da177e4SLinus Torvaldssource "net/ipv6/netfilter/Kconfig"
2051da177e4SLinus Torvaldssource "net/decnet/netfilter/Kconfig"
2061da177e4SLinus Torvaldssource "net/bridge/netfilter/Kconfig"
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvaldsendif
2091da177e4SLinus Torvalds
2107c657876SArnaldo Carvalho de Melosource "net/dccp/Kconfig"
2111da177e4SLinus Torvaldssource "net/sctp/Kconfig"
212fe17f84fSAndy Groversource "net/rds/Kconfig"
2131e63e681SPer Lidensource "net/tipc/Kconfig"
2146a2e9b73SSam Ravnborgsource "net/atm/Kconfig"
215fd558d18SJames Chapmansource "net/l2tp/Kconfig"
216a19800d7SPatrick McHardysource "net/802/Kconfig"
2176a2e9b73SSam Ravnborgsource "net/bridge/Kconfig"
21891da11f8SLennert Buytenheksource "net/dsa/Kconfig"
2196a2e9b73SSam Ravnborgsource "net/8021q/Kconfig"
2201da177e4SLinus Torvaldssource "net/decnet/Kconfig"
2211da177e4SLinus Torvaldssource "net/llc/Kconfig"
2221da177e4SLinus Torvaldssource "net/ipx/Kconfig"
2231da177e4SLinus Torvaldssource "drivers/net/appletalk/Kconfig"
2246a2e9b73SSam Ravnborgsource "net/x25/Kconfig"
2256a2e9b73SSam Ravnborgsource "net/lapb/Kconfig"
2265075138dSremi.denis-courmont@nokiasource "net/phonet/Kconfig"
2272c6bed7cSAlexander Aringsource "net/6lowpan/Kconfig"
2289ec76716SSergey Lapinsource "net/ieee802154/Kconfig"
2291010f540Salex.bluesman.smirnov@gmail.comsource "net/mac802154/Kconfig"
2301da177e4SLinus Torvaldssource "net/sched/Kconfig"
2312f90b865SAlexander Duycksource "net/dcb/Kconfig"
2321a4240f4SWang Leisource "net/dns_resolver/Kconfig"
233c6c8fea2SSven Eckelmannsource "net/batman-adv/Kconfig"
234ccb1352eSJesse Grosssource "net/openvswitch/Kconfig"
235d021c344SAndy Kingsource "net/vmw_vsock/Kconfig"
236eaaa3139SAndrey Vaginsource "net/netlink/Kconfig"
2370d89d203SSimon Hormansource "net/mpls/Kconfig"
238f421436aSArvid Brodinsource "net/hsr/Kconfig"
239007f790cSJiri Pirkosource "net/switchdev/Kconfig"
2401b69c6d0SDavid Ahernsource "net/l3mdev/Kconfig"
241bdabad3eSCourtney Cavinsource "net/qrtr/Kconfig"
2422d283bddSGavin Shansource "net/ncsi/Kconfig"
2431da177e4SLinus Torvalds
244df334545SEric Dumazetconfig RPS
2456341e62bSChristoph Jaeger	bool
246044c8d4bSYuanhan Liu	depends on SMP && SYSFS
247df334545SEric Dumazet	default y
248df334545SEric Dumazet
249c445477dSBen Hutchingsconfig RFS_ACCEL
2506341e62bSChristoph Jaeger	bool
2510244ad00SMartin Schwidefsky	depends on RPS
252c445477dSBen Hutchings	select CPU_RMAP
253c445477dSBen Hutchings	default y
254c445477dSBen Hutchings
255bf264145STom Herbertconfig XPS
2566341e62bSChristoph Jaeger	bool
257044c8d4bSYuanhan Liu	depends on SMP
258bf264145STom Herbert	default y
259bf264145STom Herbert
2608cb2d8bfSGregory CLEMENTconfig HWBM
2618cb2d8bfSGregory CLEMENT       bool
2628cb2d8bfSGregory CLEMENT
26386f8515fSDaniel Borkmannconfig CGROUP_NET_PRIO
264af636337STejun Heo	bool "Network priority cgroup"
2655bc1421eSNeil Horman	depends on CGROUPS
2662a56a1feSTejun Heo	select SOCK_CGROUP_DATA
2675bc1421eSNeil Horman	---help---
2685bc1421eSNeil Horman	  Cgroup subsystem for use in assigning processes to network priorities on
26986f8515fSDaniel Borkmann	  a per-interface basis.
2705bc1421eSNeil Horman
271fe1217c4SDaniel Borkmannconfig CGROUP_NET_CLASSID
2726341e62bSChristoph Jaeger	bool "Network classid cgroup"
273fe1217c4SDaniel Borkmann	depends on CGROUPS
2742a56a1feSTejun Heo	select SOCK_CGROUP_DATA
275fe1217c4SDaniel Borkmann	---help---
276fe1217c4SDaniel Borkmann	  Cgroup subsystem for use as general purpose socket classid marker that is
277fe1217c4SDaniel Borkmann	  being used in cls_cgroup and for netfilter matching.
278fe1217c4SDaniel Borkmann
279e0d1095aSCong Wangconfig NET_RX_BUSY_POLL
2806341e62bSChristoph Jaeger	bool
28189bf1b5aSEliezer Tamir	default y
28206021292SEliezer Tamir
283114cf580STom Herbertconfig BQL
2846341e62bSChristoph Jaeger	bool
285114cf580STom Herbert	depends on SYSFS
286114cf580STom Herbert	select DQL
287114cf580STom Herbert	default y
288114cf580STom Herbert
2890a14842fSEric Dumazetconfig BPF_JIT
2900a14842fSEric Dumazet	bool "enable BPF Just In Time compiler"
2916077776bSDaniel Borkmann	depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
292b6202f97SEric Dumazet	depends on MODULES
2930a14842fSEric Dumazet	---help---
2940a14842fSEric Dumazet	  Berkeley Packet Filter filtering capabilities are normally handled
2950a14842fSEric Dumazet	  by an interpreter. This option allows kernel to generate a native
2960a14842fSEric Dumazet	  code when filter is loaded in memory. This should speedup
2974f3446bbSDaniel Borkmann	  packet sniffing (libpcap/tcpdump).
2984f3446bbSDaniel Borkmann
2994f3446bbSDaniel Borkmann	  Note, admin should enable this feature changing:
3004f3446bbSDaniel Borkmann	  /proc/sys/net/core/bpf_jit_enable
3014f3446bbSDaniel Borkmann	  /proc/sys/net/core/bpf_jit_harden   (optional)
30274451e66SDaniel Borkmann	  /proc/sys/net/core/bpf_jit_kallsyms (optional)
3030a14842fSEric Dumazet
304*08848246SJohn Fastabendconfig BPF_STREAM_PARSER
305*08848246SJohn Fastabend	bool "enable BPF STREAM_PARSER"
306*08848246SJohn Fastabend	depends on BPF_SYSCALL
307*08848246SJohn Fastabend	select STREAM_PARSER
308*08848246SJohn Fastabend	---help---
309*08848246SJohn Fastabend	 Enabling this allows a stream parser to be used with
310*08848246SJohn Fastabend	 BPF_MAP_TYPE_SOCKMAP.
311*08848246SJohn Fastabend
312*08848246SJohn Fastabend	 BPF_MAP_TYPE_SOCKMAP provides a map type to use with network sockets.
313*08848246SJohn Fastabend	 It can be used to enforce socket policy, implement socket redirects,
314*08848246SJohn Fastabend	 etc.
315*08848246SJohn Fastabend
31699bbc707SWillem de Bruijnconfig NET_FLOW_LIMIT
3176341e62bSChristoph Jaeger	bool
31899bbc707SWillem de Bruijn	depends on RPS
31999bbc707SWillem de Bruijn	default y
32099bbc707SWillem de Bruijn	---help---
32199bbc707SWillem de Bruijn	  The network stack has to drop packets when a receive processing CPU's
32299bbc707SWillem de Bruijn	  backlog reaches netdev_max_backlog. If a few out of many active flows
32399bbc707SWillem de Bruijn	  generate the vast majority of load, drop their traffic earlier to
32499bbc707SWillem de Bruijn	  maintain capacity for the other flows. This feature provides servers
32599bbc707SWillem de Bruijn	  with many clients some protection against DoS by a single (spoofed)
32699bbc707SWillem de Bruijn	  flow that greatly exceeds average workload.
32799bbc707SWillem de Bruijn
3281da177e4SLinus Torvaldsmenu "Network testing"
3291da177e4SLinus Torvalds
3301da177e4SLinus Torvaldsconfig NET_PKTGEN
3311da177e4SLinus Torvalds	tristate "Packet Generator (USE WITH CAUTION)"
332ffd756b3SThomas Graf	depends on INET && PROC_FS
3331da177e4SLinus Torvalds	---help---
3341da177e4SLinus Torvalds	  This module will inject preconfigured packets, at a configurable
3351da177e4SLinus Torvalds	  rate, out of a given interface.  It is used for network interface
3361da177e4SLinus Torvalds	  stress testing and performance analysis.  If you don't understand
3371da177e4SLinus Torvalds	  what was just said, you don't need it: say N.
3381da177e4SLinus Torvalds
3391da177e4SLinus Torvalds	  Documentation on how to use the packet generator can be found
3401da177e4SLinus Torvalds	  at <file:Documentation/networking/pktgen.txt>.
3411da177e4SLinus Torvalds
3421da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3431da177e4SLinus Torvalds	  module will be called pktgen.
3441da177e4SLinus Torvalds
345a42e9d6cSStephen Hemmingerconfig NET_TCPPROBE
346a42e9d6cSStephen Hemminger	tristate "TCP connection probing"
347911f8635SKees Cook	depends on INET && PROC_FS && KPROBES
348a42e9d6cSStephen Hemminger	---help---
349a42e9d6cSStephen Hemminger	This module allows for capturing the changes to TCP connection
3509dadaa19SDave Jones	state in response to incoming packets. It is used for debugging
351a42e9d6cSStephen Hemminger	TCP congestion avoidance modules. If you don't understand
352a42e9d6cSStephen Hemminger	what was just said, you don't need it: say N.
353a42e9d6cSStephen Hemminger
35482fe7c92SGrant Grundler	Documentation on how to use TCP connection probing can be found
355c996d8b9SMichael Witten	at:
356c996d8b9SMichael Witten
357c996d8b9SMichael Witten	  http://www.linuxfoundation.org/collaborate/workgroups/networking/tcpprobe
358a42e9d6cSStephen Hemminger
359a42e9d6cSStephen Hemminger	To compile this code as a module, choose M here: the
360a42e9d6cSStephen Hemminger	module will be called tcp_probe.
361a42e9d6cSStephen Hemminger
362273ae44bSNeil Hormanconfig NET_DROP_MONITOR
363cad456d5SNeil Horman	tristate "Network packet drop alerting service"
364911f8635SKees Cook	depends on INET && TRACEPOINTS
365273ae44bSNeil Horman	---help---
366273ae44bSNeil Horman	This feature provides an alerting service to userspace in the
367273ae44bSNeil Horman	event that packets are discarded in the network stack.  Alerts
368273ae44bSNeil Horman	are broadcast via netlink socket to any listening user space
369273ae44bSNeil Horman	process.  If you don't need network drop alerts, or if you are ok
370273ae44bSNeil Horman	just checking the various proc files and other utilities for
371273ae44bSNeil Horman	drop statistics, say N here.
372273ae44bSNeil Horman
3731da177e4SLinus Torvaldsendmenu
3741da177e4SLinus Torvalds
3751da177e4SLinus Torvaldsendmenu
3761da177e4SLinus Torvalds
3771da177e4SLinus Torvaldssource "net/ax25/Kconfig"
3780d66548aSOliver Hartkoppsource "net/can/Kconfig"
3791da177e4SLinus Torvaldssource "net/irda/Kconfig"
3801da177e4SLinus Torvaldssource "net/bluetooth/Kconfig"
38117926a79SDavid Howellssource "net/rxrpc/Kconfig"
382ab7ac4ebSTom Herbertsource "net/kcm/Kconfig"
38343a0c675STom Herbertsource "net/strparser/Kconfig"
384d86b5e0eSAdrian Bunk
38514c0b97dSThomas Grafconfig FIB_RULES
38614c0b97dSThomas Graf	bool
38714c0b97dSThomas Graf
3885442060cSRobert P. J. Daymenuconfig WIRELESS
3895442060cSRobert P. J. Day	bool "Wireless"
390f54bfc0eSMartin Schwidefsky	depends on !S390
3915442060cSRobert P. J. Day	default y
3925442060cSRobert P. J. Day
3935442060cSRobert P. J. Dayif WIRELESS
3942a5e1c0eSJohannes Berg
3952a5e1c0eSJohannes Bergsource "net/wireless/Kconfig"
396f0706e82SJiri Bencsource "net/mac80211/Kconfig"
3972a5e1c0eSJohannes Berg
3985442060cSRobert P. J. Dayendif # WIRELESS
3992a5e1c0eSJohannes Berg
400b0c83ae1SInaky Perez-Gonzalezsource "net/wimax/Kconfig"
401b0c83ae1SInaky Perez-Gonzalez
402cf4328cdSIvo van Doornsource "net/rfkill/Kconfig"
403bd238fb4SLatchesar Ionkovsource "net/9p/Kconfig"
4043908c690SSjur Braendelandsource "net/caif/Kconfig"
4053d14c5d2SYehuda Sadehsource "net/ceph/Kconfig"
4063e256b8fSLauro Ramos Venanciosource "net/nfc/Kconfig"
4076ae0a628SYotam Gigisource "net/psample/Kconfig"
4081ce84604SYotam Gigisource "net/ife/Kconfig"
4093908c690SSjur Braendeland
410499a2425SRoopa Prabhuconfig LWTUNNEL
411499a2425SRoopa Prabhu	bool "Network light weight tunnels"
412499a2425SRoopa Prabhu	---help---
413499a2425SRoopa Prabhu	  This feature provides an infrastructure to support light weight
414499a2425SRoopa Prabhu	  tunnels like mpls. There is no netdevice associated with a light
415499a2425SRoopa Prabhu	  weight tunnel endpoint. Tunnel encapsulation parameters are stored
416499a2425SRoopa Prabhu	  with light weight tunnel state associated with fib routes.
417cf4328cdSIvo van Doorn
4183a0af8fdSThomas Grafconfig LWTUNNEL_BPF
4193a0af8fdSThomas Graf	bool "Execute BPF program as route nexthop action"
4203a0af8fdSThomas Graf	depends on LWTUNNEL
4213a0af8fdSThomas Graf	default y if LWTUNNEL=y
4223a0af8fdSThomas Graf	---help---
4233a0af8fdSThomas Graf	  Allows to run BPF programs as a nexthop action following a route
4243a0af8fdSThomas Graf	  lookup for incoming and outgoing packets.
4253a0af8fdSThomas Graf
426911362c7SPaolo Abeniconfig DST_CACHE
4279b246841SDave Jones	bool
428911362c7SPaolo Abeni	default n
429911362c7SPaolo Abeni
43097e219b7SEric Dumazetconfig GRO_CELLS
43197e219b7SEric Dumazet	bool
43297e219b7SEric Dumazet	default n
43397e219b7SEric Dumazet
434bfcd3a46SJiri Pirkoconfig NET_DEVLINK
435bfcd3a46SJiri Pirko	tristate "Network physical/parent device Netlink interface"
436bfcd3a46SJiri Pirko	help
437bfcd3a46SJiri Pirko	  Network physical/parent device Netlink interface provides
438bfcd3a46SJiri Pirko	  infrastructure to support access to physical chip-wide config and
439bfcd3a46SJiri Pirko	  monitoring.
440bfcd3a46SJiri Pirko
4413d1cbe83SArnd Bergmannconfig MAY_USE_DEVLINK
4423d1cbe83SArnd Bergmann	tristate
4433d1cbe83SArnd Bergmann	default m if NET_DEVLINK=m
4443d1cbe83SArnd Bergmann	default y if NET_DEVLINK=y || NET_DEVLINK=n
4453d1cbe83SArnd Bergmann	help
4463d1cbe83SArnd Bergmann	  Drivers using the devlink infrastructure should have a dependency
4473d1cbe83SArnd Bergmann	  on MAY_USE_DEVLINK to ensure they do not cause link errors when
4483d1cbe83SArnd Bergmann	  devlink is a loadable module and the driver using it is built-in.
4493d1cbe83SArnd Bergmann
4506a2e9b73SSam Ravnborgendif   # if NET
451e47b65b0SSam Ravnborg
4526077776bSDaniel Borkmann# Used by archs to tell that they support BPF JIT compiler plus which flavour.
4536077776bSDaniel Borkmann# Only one of the two can be selected for a specific arch since eBPF JIT supersedes
4546077776bSDaniel Borkmann# the cBPF JIT.
4556077776bSDaniel Borkmann
4566077776bSDaniel Borkmann# Classic BPF JIT (cBPF)
4576077776bSDaniel Borkmannconfig HAVE_CBPF_JIT
4586077776bSDaniel Borkmann	bool
4596077776bSDaniel Borkmann
4606077776bSDaniel Borkmann# Extended BPF JIT (eBPF)
4616077776bSDaniel Borkmannconfig HAVE_EBPF_JIT
462e47b65b0SSam Ravnborg	bool
463