Blame view

net/Kconfig 14 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
  #
  # Network configuration
  #
031cf19e6   Robert P. J. Day   net: Make "networ...
5
  menuconfig NET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
6
  	bool "Networking support"
e9cc8bdda   Geert Uytterhoeven   netlink: Move net...
7
  	select NLATTR
4cd5773a2   Andy Shevchenko   net: core: move m...
8
  	select GENERIC_NET_UTILS
f89b7755f   Alexei Starovoitov   bpf: split eBPF o...
9
  	select BPF
a7f7f6248   Masahiro Yamada   treewide: replace...
10
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11
12
13
  	  Unless you really know what you are doing, you should say Y here.
  	  The reason is that some programs need kernel networking support even
  	  when running on a stand-alone machine that isn't connected to any
d5950b435   Sam Ravnborg   [NET]: add a top-...
14
  	  other computer.
e446a2760   Stephen Hemminger   net: remove blank...
15

d5950b435   Sam Ravnborg   [NET]: add a top-...
16
  	  If you are upgrading from an older kernel, you
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
17
18
19
20
21
22
23
24
  	  should consider updating your networking tools too because changes
  	  in the kernel and the tools often go hand in hand. The tools are
  	  contained in the package net-tools, the location and version number
  	  of which are given in <file:Documentation/Changes>.
  
  	  For a general introduction to Linux networking, it is highly
  	  recommended to read the NET-HOWTO, available from
  	  <http://www.tldp.org/docs.html#howto>.
6a2e9b738   Sam Ravnborg   [NET]: move confi...
25
  if NET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
26

1dacc76d0   Johannes Berg   net/compat/wext: ...
27
28
29
30
31
32
33
34
35
  config WANT_COMPAT_NETLINK_MESSAGES
  	bool
  	help
  	  This option can be selected by other options that need compat
  	  netlink messages.
  
  config COMPAT_NETLINK_MESSAGES
  	def_bool y
  	depends on COMPAT
40b53d8a4   David S. Miller   wireless: Make CO...
36
  	depends on WEXT_CORE || WANT_COMPAT_NETLINK_MESSAGES
1dacc76d0   Johannes Berg   net/compat/wext: ...
37
38
39
40
41
42
43
44
45
  	help
  	  This option makes it possible to send different netlink messages
  	  to tasks depending on whether the task is a compat task or not. To
  	  achieve this, you need to set skb_shinfo(skb)->frag_list to the
  	  compat skb before sending the skb, the netlink code will sort out
  	  which message to actually pass to the task.
  
  	  Newly written code should NEVER need this option but do
  	  compat-independent messages instead!
1cf51900f   Pablo Neira   net: add CONFIG_N...
46
47
  config NET_INGRESS
  	bool
1f211a1b9   Daniel Borkmann   net, sched: add c...
48
49
  config NET_EGRESS
  	bool
2c64605b5   Pablo Neira Ayuso   net: Fix CONFIG_N...
50
51
  config NET_REDIRECT
  	bool
df5042f4c   Florian Westphal   sk_buff: add skb ...
52
53
  config SKB_EXTENSIONS
  	bool
6a2e9b738   Sam Ravnborg   [NET]: move confi...
54
  menu "Networking options"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
55

6a2e9b738   Sam Ravnborg   [NET]: move confi...
56
57
  source "net/packet/Kconfig"
  source "net/unix/Kconfig"
3c4d75591   Dave Watson   tls: kernel TLS s...
58
  source "net/tls/Kconfig"
6a2e9b738   Sam Ravnborg   [NET]: move confi...
59
  source "net/xfrm/Kconfig"
2356f4cb1   Martin Schwidefsky   [S390]: Rewrite o...
60
  source "net/iucv/Kconfig"
ac7138746   Ursula Braun   smc: establish ne...
61
  source "net/smc/Kconfig"
68e8b849b   Björn Töpel   net: initial AF_X...
62
  source "net/xdp/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
63
64
65
  
  config INET
  	bool "TCP/IP networking"
a7f7f6248   Masahiro Yamada   treewide: replace...
66
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
67
68
  	  These are the protocols used on the Internet and on most local
  	  Ethernets. It is highly recommended to say Y here (this will enlarge
cf80efc27   YOSHIFUJI Hideaki   [IPV4]: Fix size ...
69
  	  your kernel by about 400 KB), since some programs (e.g. the X window
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
70
71
72
73
74
75
76
77
78
79
80
81
  	  system) use TCP/IP even if your machine is not connected to any
  	  other computer. You will get the so-called loopback device which
  	  allows you to ping yourself (great fun, that!).
  
  	  For an excellent introduction to Linux networking, please read the
  	  Linux Networking HOWTO, available from
  	  <http://www.tldp.org/docs.html#howto>.
  
  	  If you say Y here and also to "/proc file system support" and
  	  "Sysctl support" below, you can change various aspects of the
  	  behavior of the TCP/IP code by writing to the (virtual) files in
  	  /proc/sys/net/ipv4/*; the options are explained in the file
1cec2caca   Mauro Carvalho Chehab   docs: networking:...
82
  	  <file:Documentation/networking/ip-sysctl.rst>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
83
84
  
  	  Short answer: say Y.
6a2e9b738   Sam Ravnborg   [NET]: move confi...
85
  if INET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
86
  source "net/ipv4/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
87
  source "net/ipv6/Kconfig"
38c94377a   Paul Moore   [NETLABEL]: Fix b...
88
  source "net/netlabel/Kconfig"
f870fa0b5   Mat Martineau   mptcp: Add MPTCP ...
89
  source "net/mptcp/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
90

6a2e9b738   Sam Ravnborg   [NET]: move confi...
91
  endif # if INET
984bc16cc   James Morris   [SECMARK]: Add se...
92
93
94
95
96
97
  config NETWORK_SECMARK
  	bool "Security Marking"
  	help
  	  This enables security marking of network packets, similar
  	  to nfmark, but designated for security purposes.
  	  If you are unsure how to answer this question, answer N.
408eccce3   Daniel Borkmann   net: ptp: move PT...
98
99
  config NET_PTP_CLASSIFY
  	def_bool n
c1f19b51d   Richard Cochran   net: support time...
100
101
  config NETWORK_PHY_TIMESTAMPING
  	bool "Timestamping in PHY devices"
408eccce3   Daniel Borkmann   net: ptp: move PT...
102
  	select NET_PTP_CLASSIFY
c1f19b51d   Richard Cochran   net: support time...
103
  	help
767ff4837   Richard Cochran   net: Add a layer ...
104
105
106
107
  	  This allows timestamping of network packets by PHYs (or
  	  other MII bus snooping devices) with hardware timestamping
  	  capabilities. This option adds some overhead in the transmit
  	  and receive paths.
c1f19b51d   Richard Cochran   net: support time...
108
109
  
  	  If you are unsure how to answer this question, answer N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
110
  menuconfig NETFILTER
ef91fd522   Pablo Neira Ayuso   [NETFILTER]: remo...
111
  	bool "Network packet filtering framework (Netfilter)"
a7f7f6248   Masahiro Yamada   treewide: replace...
112
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
  	  Netfilter is a framework for filtering and mangling network packets
  	  that pass through your Linux box.
  
  	  The most common use of packet filtering is to run your Linux box as
  	  a firewall protecting a local network from the Internet. The type of
  	  firewall provided by this kernel support is called a "packet
  	  filter", which means that it can reject individual network packets
  	  based on type, source, destination etc. The other kind of firewall,
  	  a "proxy-based" one, is more secure but more intrusive and more
  	  bothersome to set up; it inspects the network traffic much more
  	  closely, modifies it and has knowledge about the higher level
  	  protocols, which a packet filter lacks. Moreover, proxy-based
  	  firewalls often require changes to the programs running on the local
  	  clients. Proxy-based firewalls don't need support by the kernel, but
  	  they are often combined with a packet filter, which only works if
  	  you say Y here.
  
  	  You should also say Y here if you intend to use your Linux box as
  	  the gateway to the Internet for a local network of machines without
  	  globally valid IP addresses. This is called "masquerading": if one
  	  of the computers on your local network wants to send something to
  	  the outside, your box can "masquerade" as that computer, i.e. it
  	  forwards the traffic to the intended outside destination, but
  	  modifies the packets to make it look like they came from the
  	  firewall box itself. It works both ways: if the outside host
  	  replies, the Linux box will silently forward the traffic to the
  	  correct local computer. This way, the computers on your local net
  	  are completely invisible to the outside world, even though they can
  	  reach the outside and can receive replies. It is even possible to
  	  run globally visible servers from within a masqueraded local network
  	  using a mechanism called portforwarding. Masquerading is also often
  	  called NAT (Network Address Translation).
  
  	  Another use of Netfilter is in transparent proxying: if a machine on
  	  the local network tries to connect to an outside host, your Linux
  	  box can transparently forward the traffic to a local server,
  	  typically a caching proxy server.
  
  	  Yet another use of Netfilter is building a bridging firewall. Using
  	  a bridge with Network packet filtering enabled makes iptables "see"
  	  the bridged traffic. For filtering on the lower network and Ethernet
  	  protocols over the bridge, use ebtables (under bridge netfilter
  	  configuration).
  
  	  Various modules exist for netfilter which replace the previous
  	  masquerading (ipmasqadm), packet filtering (ipchains), transparent
  	  proxying, and portforwarding mechanisms. Please see
  	  <file:Documentation/Changes> under "iptables" for the location of
  	  these packages.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
162
  if NETFILTER
33b8e7760   Patrick McHardy   [NETFILTER]: Add ...
163
164
165
166
167
168
  config NETFILTER_ADVANCED
  	bool "Advanced netfilter configuration"
  	depends on NETFILTER
  	default y
  	help
  	  If you say Y here you can select between all the netfilter modules.
692105b8a   Matt LaPlante   trivial: fix typo...
169
  	  If you say N the more unusual ones will not be shown and the
33b8e7760   Patrick McHardy   [NETFILTER]: Add ...
170
171
172
  	  basic ones needed by most people will default to 'M'.
  
  	  If unsure, say Y.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
173
  config BRIDGE_NETFILTER
34666d467   Pablo Neira Ayuso   netfilter: bridge...
174
  	tristate "Bridged IP/ARP packets filtering"
57f5877c1   Florian Westphal   netfilter: bridge...
175
  	depends on BRIDGE
34666d467   Pablo Neira Ayuso   netfilter: bridge...
176
  	depends on NETFILTER && INET
33b8e7760   Patrick McHardy   [NETFILTER]: Add ...
177
  	depends on NETFILTER_ADVANCED
2a95183a5   Florian Westphal   netfilter: don't ...
178
  	select NETFILTER_FAMILY_BRIDGE
de8bda1d2   Florian Westphal   net: convert brid...
179
  	select SKB_EXTENSIONS
a7f7f6248   Masahiro Yamada   treewide: replace...
180
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
181
182
183
184
185
186
187
  	  Enabling this option will let arptables resp. iptables see bridged
  	  ARP resp. IP traffic. If you want a bridging firewall, you probably
  	  want this option enabled.
  	  Enabling or disabling this option doesn't enable or disable
  	  ebtables.
  
  	  If unsure, say N.
9eb0eec74   Harald Welte   [NETFILTER] move ...
188
  source "net/netfilter/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
189
190
191
192
193
194
  source "net/ipv4/netfilter/Kconfig"
  source "net/ipv6/netfilter/Kconfig"
  source "net/decnet/netfilter/Kconfig"
  source "net/bridge/netfilter/Kconfig"
  
  endif
d2ba09c17   Alexei Starovoitov   net: add skeleton...
195
  source "net/bpfilter/Kconfig"
7c657876b   Arnaldo Carvalho de Melo   [DCCP]: Initial i...
196
  source "net/dccp/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
197
  source "net/sctp/Kconfig"
fe17f84f5   Andy Grover   RDS: Kconfig and ...
198
  source "net/rds/Kconfig"
1e63e681e   Per Liden   [TIPC] Group prot...
199
  source "net/tipc/Kconfig"
6a2e9b738   Sam Ravnborg   [NET]: move confi...
200
  source "net/atm/Kconfig"
fd558d186   James Chapman   l2tp: Split pppol...
201
  source "net/l2tp/Kconfig"
a19800d70   Patrick McHardy   net: Add STP demu...
202
  source "net/802/Kconfig"
6a2e9b738   Sam Ravnborg   [NET]: move confi...
203
  source "net/bridge/Kconfig"
91da11f87   Lennert Buytenhek   net: Distributed ...
204
  source "net/dsa/Kconfig"
6a2e9b738   Sam Ravnborg   [NET]: move confi...
205
  source "net/8021q/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
206
  source "net/decnet/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
207
  source "net/llc/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
208
  source "drivers/net/appletalk/Kconfig"
6a2e9b738   Sam Ravnborg   [NET]: move confi...
209
210
  source "net/x25/Kconfig"
  source "net/lapb/Kconfig"
5075138d6   remi.denis-courmont@nokia   Phonet: move to N...
211
  source "net/phonet/Kconfig"
2c6bed7cf   Alexander Aring   6lowpan: introduc...
212
  source "net/6lowpan/Kconfig"
9ec767160   Sergey Lapin   net: add IEEE 802...
213
  source "net/ieee802154/Kconfig"
1010f5401   alex.bluesman.smirnov@gmail.com   mac802154: alloca...
214
  source "net/mac802154/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
215
  source "net/sched/Kconfig"
2f90b8657   Alexander Duyck   ixgbe: this patch...
216
  source "net/dcb/Kconfig"
676adf072   Po Liu   net:tsn: netlink ...
217
  source "net/tsn/Kconfig"
1a4240f47   Wang Lei   DNS: Separate out...
218
  source "net/dns_resolver/Kconfig"
c6c8fea29   Sven Eckelmann   net: Add batman-a...
219
  source "net/batman-adv/Kconfig"
ccb1352e7   Jesse Gross   net: Add Open vSw...
220
  source "net/openvswitch/Kconfig"
d021c3440   Andy King   VSOCK: Introduce ...
221
  source "net/vmw_vsock/Kconfig"
eaaa31392   Andrey Vagin   netlink: Diag cor...
222
  source "net/netlink/Kconfig"
0d89d2035   Simon Horman   MPLS: Add limited...
223
  source "net/mpls/Kconfig"
c411ed854   Jiri Benc   nsh: add GSO support
224
  source "net/nsh/Kconfig"
f421436a5   Arvid Brodin   net/hsr: Add supp...
225
  source "net/hsr/Kconfig"
007f790c8   Jiri Pirko   net: introduce ge...
226
  source "net/switchdev/Kconfig"
1b69c6d0a   David Ahern   net: Introduce L3...
227
  source "net/l3mdev/Kconfig"
bdabad3e3   Courtney Cavin   net: Add Qualcomm...
228
  source "net/qrtr/Kconfig"
2d283bdd0   Gavin Shan   net/ncsi: Resourc...
229
  source "net/ncsi/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
230

df3345457   Eric Dumazet   rps: add CONFIG_RPS
231
  config RPS
6341e62b2   Christoph Jaeger   kconfig: use bool...
232
  	bool
044c8d4b1   Yuanhan Liu   kernel: remove CO...
233
  	depends on SMP && SYSFS
df3345457   Eric Dumazet   rps: add CONFIG_RPS
234
  	default y
c445477d7   Ben Hutchings   net: RPS: Enable ...
235
  config RFS_ACCEL
6341e62b2   Christoph Jaeger   kconfig: use bool...
236
  	bool
0244ad004   Martin Schwidefsky   Remove GENERIC_HA...
237
  	depends on RPS
c445477d7   Ben Hutchings   net: RPS: Enable ...
238
239
  	select CPU_RMAP
  	default y
bf2641451   Tom Herbert   xps: Add CONFIG_XPS
240
  config XPS
6341e62b2   Christoph Jaeger   kconfig: use bool...
241
  	bool
044c8d4b1   Yuanhan Liu   kernel: remove CO...
242
  	depends on SMP
bf2641451   Tom Herbert   xps: Add CONFIG_XPS
243
  	default y
8cb2d8bf5   Gregory CLEMENT   net: add a hardwa...
244
  config HWBM
43da14110   Krzysztof Kozlowski   net: Fix Kconfig ...
245
  	bool
8cb2d8bf5   Gregory CLEMENT   net: add a hardwa...
246

86f8515f9   Daniel Borkmann   net: netprio: ren...
247
  config CGROUP_NET_PRIO
af6363374   Tejun Heo   cgroup: make CONF...
248
  	bool "Network priority cgroup"
5bc1421e3   Neil Horman   net: add network ...
249
  	depends on CGROUPS
2a56a1fec   Tejun Heo   net: wrap sock->s...
250
  	select SOCK_CGROUP_DATA
a7f7f6248   Masahiro Yamada   treewide: replace...
251
  	help
5bc1421e3   Neil Horman   net: add network ...
252
  	  Cgroup subsystem for use in assigning processes to network priorities on
86f8515f9   Daniel Borkmann   net: netprio: ren...
253
  	  a per-interface basis.
5bc1421e3   Neil Horman   net: add network ...
254

fe1217c4f   Daniel Borkmann   net: net_cls: mov...
255
  config CGROUP_NET_CLASSID
6341e62b2   Christoph Jaeger   kconfig: use bool...
256
  	bool "Network classid cgroup"
fe1217c4f   Daniel Borkmann   net: net_cls: mov...
257
  	depends on CGROUPS
2a56a1fec   Tejun Heo   net: wrap sock->s...
258
  	select SOCK_CGROUP_DATA
a7f7f6248   Masahiro Yamada   treewide: replace...
259
  	help
fe1217c4f   Daniel Borkmann   net: net_cls: mov...
260
261
  	  Cgroup subsystem for use as general purpose socket classid marker that is
  	  being used in cls_cgroup and for netfilter matching.
e0d1095ae   Cong Wang   net: rename CONFI...
262
  config NET_RX_BUSY_POLL
6341e62b2   Christoph Jaeger   kconfig: use bool...
263
  	bool
89bf1b5a6   Eliezer Tamir   net: remove NET_L...
264
  	default y
060212928   Eliezer Tamir   net: add low late...
265

114cf5802   Tom Herbert   bql: Byte queue l...
266
  config BQL
6341e62b2   Christoph Jaeger   kconfig: use bool...
267
  	bool
114cf5802   Tom Herbert   bql: Byte queue l...
268
269
270
  	depends on SYSFS
  	select DQL
  	default y
0a14842f5   Eric Dumazet   net: filter: Just...
271
272
  config BPF_JIT
  	bool "enable BPF Just In Time compiler"
6077776b5   Daniel Borkmann   bpf: split HAVE_B...
273
  	depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
b6202f978   Eric Dumazet   bpf: depends on M...
274
  	depends on MODULES
a7f7f6248   Masahiro Yamada   treewide: replace...
275
  	help
0a14842f5   Eric Dumazet   net: filter: Just...
276
277
278
  	  Berkeley Packet Filter filtering capabilities are normally handled
  	  by an interpreter. This option allows kernel to generate a native
  	  code when filter is loaded in memory. This should speedup
4f3446bb8   Daniel Borkmann   bpf: add generic ...
279
280
281
282
  	  packet sniffing (libpcap/tcpdump).
  
  	  Note, admin should enable this feature changing:
  	  /proc/sys/net/core/bpf_jit_enable
74451e66d   Daniel Borkmann   bpf: make jited p...
283
284
  	  /proc/sys/net/core/bpf_jit_harden   (optional)
  	  /proc/sys/net/core/bpf_jit_kallsyms (optional)
0a14842f5   Eric Dumazet   net: filter: Just...
285

088482466   John Fastabend   bpf: sockmap requ...
286
287
  config BPF_STREAM_PARSER
  	bool "enable BPF STREAM_PARSER"
604326b41   Daniel Borkmann   bpf, sockmap: con...
288
  	depends on INET
088482466   John Fastabend   bpf: sockmap requ...
289
  	depends on BPF_SYSCALL
604326b41   Daniel Borkmann   bpf, sockmap: con...
290
  	depends on CGROUP_BPF
088482466   John Fastabend   bpf: sockmap requ...
291
  	select STREAM_PARSER
604326b41   Daniel Borkmann   bpf, sockmap: con...
292
  	select NET_SOCK_MSG
a7f7f6248   Masahiro Yamada   treewide: replace...
293
  	help
43da14110   Krzysztof Kozlowski   net: Fix Kconfig ...
294
295
  	  Enabling this allows a stream parser to be used with
  	  BPF_MAP_TYPE_SOCKMAP.
088482466   John Fastabend   bpf: sockmap requ...
296

43da14110   Krzysztof Kozlowski   net: Fix Kconfig ...
297
298
299
  	  BPF_MAP_TYPE_SOCKMAP provides a map type to use with network sockets.
  	  It can be used to enforce socket policy, implement socket redirects,
  	  etc.
088482466   John Fastabend   bpf: sockmap requ...
300

99bbc7074   Willem de Bruijn   rps: selective fl...
301
  config NET_FLOW_LIMIT
6341e62b2   Christoph Jaeger   kconfig: use bool...
302
  	bool
99bbc7074   Willem de Bruijn   rps: selective fl...
303
304
  	depends on RPS
  	default y
a7f7f6248   Masahiro Yamada   treewide: replace...
305
  	help
99bbc7074   Willem de Bruijn   rps: selective fl...
306
307
308
309
310
311
  	  The network stack has to drop packets when a receive processing CPU's
  	  backlog reaches netdev_max_backlog. If a few out of many active flows
  	  generate the vast majority of load, drop their traffic earlier to
  	  maintain capacity for the other flows. This feature provides servers
  	  with many clients some protection against DoS by a single (spoofed)
  	  flow that greatly exceeds average workload.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
312
313
314
315
  menu "Network testing"
  
  config NET_PKTGEN
  	tristate "Packet Generator (USE WITH CAUTION)"
ffd756b31   Thomas Graf   pktgen: Require C...
316
  	depends on INET && PROC_FS
a7f7f6248   Masahiro Yamada   treewide: replace...
317
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
318
319
320
321
322
323
  	  This module will inject preconfigured packets, at a configurable
  	  rate, out of a given interface.  It is used for network interface
  	  stress testing and performance analysis.  If you don't understand
  	  what was just said, you don't need it: say N.
  
  	  Documentation on how to use the packet generator can be found
c1e4535f2   Mauro Carvalho Chehab   docs: networking:...
324
  	  at <file:Documentation/networking/pktgen.rst>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
325
326
327
  
  	  To compile this code as a module, choose M here: the
  	  module will be called pktgen.
273ae44b9   Neil Horman   Network Drop Moni...
328
  config NET_DROP_MONITOR
cad456d5a   Neil Horman   drop_monitor: con...
329
  	tristate "Network packet drop alerting service"
911f86354   Kees Cook   net: remove depen...
330
  	depends on INET && TRACEPOINTS
a7f7f6248   Masahiro Yamada   treewide: replace...
331
  	help
43da14110   Krzysztof Kozlowski   net: Fix Kconfig ...
332
333
334
335
336
337
  	  This feature provides an alerting service to userspace in the
  	  event that packets are discarded in the network stack.  Alerts
  	  are broadcast via netlink socket to any listening user space
  	  process.  If you don't need network drop alerts, or if you are ok
  	  just checking the various proc files and other utilities for
  	  drop statistics, say N here.
273ae44b9   Neil Horman   Network Drop Moni...
338

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
339
340
341
  endmenu
  
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
342
  source "net/ax25/Kconfig"
0d66548a1   Oliver Hartkopp   [CAN]: Add PF_CAN...
343
  source "net/can/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
344
  source "net/bluetooth/Kconfig"
17926a793   David Howells   [AF_RXRPC]: Provi...
345
  source "net/rxrpc/Kconfig"
ab7ac4eb9   Tom Herbert   kcm: Kernel Conne...
346
  source "net/kcm/Kconfig"
43a0c6751   Tom Herbert   strparser: Stream...
347
  source "net/strparser/Kconfig"
d86b5e0e6   Adrian Bunk   [PATCH] net/: fix...
348

14c0b97dd   Thomas Graf   [NET]: Protocol I...
349
350
  config FIB_RULES
  	bool
5442060c0   Robert P. J. Day   WIRELESS: Make wi...
351
352
  menuconfig WIRELESS
  	bool "Wireless"
f54bfc0e3   Martin Schwidefsky   [S390] Kconfig: n...
353
  	depends on !S390
5442060c0   Robert P. J. Day   WIRELESS: Make wi...
354
355
356
  	default y
  
  if WIRELESS
2a5e1c0eb   Johannes Berg   [WIRELESS]: Refac...
357
358
  
  source "net/wireless/Kconfig"
f0706e828   Jiri Benc   [MAC80211]: Add m...
359
  source "net/mac80211/Kconfig"
2a5e1c0eb   Johannes Berg   [WIRELESS]: Refac...
360

5442060c0   Robert P. J. Day   WIRELESS: Make wi...
361
  endif # WIRELESS
2a5e1c0eb   Johannes Berg   [WIRELESS]: Refac...
362

b0c83ae1d   Inaky Perez-Gonzalez   wimax: Makefile, ...
363
  source "net/wimax/Kconfig"
cf4328cd9   Ivo van Doorn   [NET]: rfkill: ad...
364
  source "net/rfkill/Kconfig"
bd238fb43   Latchesar Ionkov   9p: Reorganizatio...
365
  source "net/9p/Kconfig"
3908c6902   Sjur Braendeland   net-caif: add CAI...
366
  source "net/caif/Kconfig"
3d14c5d2b   Yehuda Sadeh   ceph: factor out ...
367
  source "net/ceph/Kconfig"
3e256b8f8   Lauro Ramos Venancio   NFC: add nfc subs...
368
  source "net/nfc/Kconfig"
6ae0a6286   Yotam Gigi   net: Introduce ps...
369
  source "net/psample/Kconfig"
1ce846049   Yotam Gigi   net: Introduce if...
370
  source "net/ife/Kconfig"
3908c6902   Sjur Braendeland   net-caif: add CAI...
371

499a24256   Roopa Prabhu   lwtunnel: infrast...
372
373
  config LWTUNNEL
  	bool "Network light weight tunnels"
a7f7f6248   Masahiro Yamada   treewide: replace...
374
  	help
499a24256   Roopa Prabhu   lwtunnel: infrast...
375
376
377
378
  	  This feature provides an infrastructure to support light weight
  	  tunnels like mpls. There is no netdevice associated with a light
  	  weight tunnel endpoint. Tunnel encapsulation parameters are stored
  	  with light weight tunnel state associated with fib routes.
cf4328cd9   Ivo van Doorn   [NET]: rfkill: ad...
379

3a0af8fd6   Thomas Graf   bpf: BPF for ligh...
380
381
  config LWTUNNEL_BPF
  	bool "Execute BPF program as route nexthop action"
b251f9f63   Peter Oskolkov   bpf: make LWTUNNE...
382
  	depends on LWTUNNEL && INET
3a0af8fd6   Thomas Graf   bpf: BPF for ligh...
383
  	default y if LWTUNNEL=y
a7f7f6248   Masahiro Yamada   treewide: replace...
384
  	help
3a0af8fd6   Thomas Graf   bpf: BPF for ligh...
385
386
  	  Allows to run BPF programs as a nexthop action following a route
  	  lookup for incoming and outgoing packets.
911362c70   Paolo Abeni   net: add dst_cach...
387
  config DST_CACHE
9b246841f   Dave Jones   Make DST_CACHE a ...
388
  	bool
911362c70   Paolo Abeni   net: add dst_cach...
389
  	default n
97e219b7c   Eric Dumazet   gro_cells: move t...
390
391
392
  config GRO_CELLS
  	bool
  	default n
ebf4e808f   Ilya Lesokhin   net: Add Software...
393
394
  config SOCK_VALIDATE_XMIT
  	bool
604326b41   Daniel Borkmann   bpf, sockmap: con...
395
396
397
398
399
400
401
  config NET_SOCK_MSG
  	bool
  	default n
  	help
  	  The NET_SOCK_MSG provides a framework for plain sockets (e.g. TCP) or
  	  ULPs (upper layer modules, e.g. TLS) to process L7 application data
  	  with the help of BPF programs.
bfcd3a466   Jiri Pirko   Introduce devlink...
402
  config NET_DEVLINK
f6b19b354   Jiri Pirko   net: devlink: sel...
403
404
  	bool
  	default n
bfcd3a466   Jiri Pirko   Introduce devlink...
405

ff7d6b27f   Jesper Dangaard Brouer   page_pool: refurb...
406
  config PAGE_POOL
43da14110   Krzysztof Kozlowski   net: Fix Kconfig ...
407
  	bool
ff7d6b27f   Jesper Dangaard Brouer   page_pool: refurb...
408

30c8bd5aa   Sridhar Samudrala   net: Introduce ge...
409
410
411
412
413
414
415
416
417
418
419
420
  config FAILOVER
  	tristate "Generic failover module"
  	help
  	  The failover module provides a generic interface for paravirtual
  	  drivers to register a netdev and a set of ops with a failover
  	  instance. The ops are used as event handlers that get called to
  	  handle netdev register/unregister/link change/name change events
  	  on slave pci ethernet devices with the same mac address as the
  	  failover netdev. This enables paravirtual drivers to use a
  	  VF as an accelerated low latency datapath. It also allows live
  	  migration of VMs with direct attached VFs by failing over to the
  	  paravirtual datapath when the VF is unplugged.
2b4a8990b   Michal Kubecek   ethtool: introduc...
421
422
423
424
425
426
427
  config ETHTOOL_NETLINK
  	bool "Netlink interface for ethtool"
  	default y
  	help
  	  An alternative userspace interface for ethtool based on generic
  	  netlink. It provides better extensibility and some new features,
  	  e.g. notification messages.
6a2e9b738   Sam Ravnborg   [NET]: move confi...
428
  endif   # if NET
e47b65b03   Sam Ravnborg   net: drop NET dep...
429

6077776b5   Daniel Borkmann   bpf: split HAVE_B...
430
431
432
433
434
435
436
437
438
439
  # Used by archs to tell that they support BPF JIT compiler plus which flavour.
  # Only one of the two can be selected for a specific arch since eBPF JIT supersedes
  # the cBPF JIT.
  
  # Classic BPF JIT (cBPF)
  config HAVE_CBPF_JIT
  	bool
  
  # Extended BPF JIT (eBPF)
  config HAVE_EBPF_JIT
e47b65b03   Sam Ravnborg   net: drop NET dep...
440
  	bool