Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
#
# Network device configuration
#

menuconfig CONFIG_NETDEVICES
	default y if CONFIG_UML
	depends on CONFIG_NET
	bool "Network device support"
	---help---
	  You can say N here if you don't intend to connect your Linux box to
	  any other computer at all.

	  You'll have to say Y if your computer contains a network card that
	  you want to use under Linux. If you are going to run CONFIG_SLIP or CONFIG_PPP over
	  telephone line or null modem cable you need say Y here. Connecting
	  two machines with parallel ports using CONFIG_PLIP needs this, as well as
	  AX.25/KISS for sending Internet traffic over amateur radio links.

	  See also "The Linux Network Administrator's Guide" by Olaf Kirch and
	  Terry Dawson. Available at <http://www.tldp.org/guides.html>.

	  If unsure, say Y.

# All the following symbols are dependent on CONFIG_NETDEVICES - do not repeat
# that for each of the symbols.
if CONFIG_NETDEVICES

config CONFIG_MII
	tristate

config CONFIG_NET_CORE
	default y
	bool "Network core driver support"
	---help---
	  You can say N here if you do not intend to use any of the
	  networking core drivers (i.e. VLAN, bridging, bonding, etc.)

if CONFIG_NET_CORE

config CONFIG_BONDING
	tristate "Bonding driver support"
	depends on CONFIG_INET
	depends on CONFIG_IPV6 || CONFIG_IPV6=n
	---help---
	  Say 'Y' or 'CONFIG_M' if you wish to be able to 'bond' multiple Ethernet
	  Channels together. This is called 'Etherchannel' by Cisco,
	  'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux.

	  The driver supports multiple bonding modes to allow for both high
	  performance and high availability operation.

	  Refer to <file:Documentation/networking/bonding.txt> for more
	  information.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called bonding.

config CONFIG_DUMMY
	tristate "Dummy net driver support"
	---help---
	  This is essentially a bit-bucket device (i.e. traffic you send to
	  this device is consigned into oblivion) with a configurable IP
	  address. It is most commonly used in order to make your currently
	  inactive CONFIG_SLIP address seem like a real address for local programs.
	  If you use CONFIG_SLIP or CONFIG_PPP, you might want to say Y here. It won't
	  enlarge your kernel. What a deal. Read about it in the Network
	  Administrator's Guide, available from
	  <http://www.tldp.org/docs.html#guide>.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called dummy.

config CONFIG_EQUALIZER
	tristate "EQL (serial line load balancing) support"
	---help---
	  If you have two serial connections to some other computer (this
	  usually requires two modems and two telephone lines) and you use
	  CONFIG_SLIP (the protocol for sending Internet traffic over telephone
	  lines) or CONFIG_PPP (a better CONFIG_SLIP) on them, you can make them behave like
	  one double speed connection using this driver.  Naturally, this has
	  to be supported at the other end as well, either with a similar EQL
	  Linux driver or with a Livingston Portmaster 2e.

	  Say Y if you want this and read
	  <file:Documentation/networking/eql.txt>.  You may also want to read
	  section 6.2 of the CONFIG_NET-3-HOWTO, available from
	  <http://www.tldp.org/docs.html#howto>.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called eql.  If unsure, say N.

config CONFIG_NET_FC
	bool "Fibre Channel driver support"
	depends on CONFIG_SCSI && CONFIG_PCI
	help
	  Fibre Channel is a high speed serial protocol mainly used to connect
	  large storage devices to the computer; it is compatible with and
	  intended to replace CONFIG_SCSI.

	  If you intend to use Fibre Channel, you need to have a Fibre channel
	  adaptor card in your computer; say Y here and to the driver for your
	  adaptor below. You also should have said Y to "SCSI support" and
	  "SCSI generic support".

config CONFIG_IFB
	tristate "Intermediate Functional Block support"
	depends on CONFIG_NET_CLS_ACT
	---help---
	  This is an intermediate driver that allows sharing of
	  resources.
	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called ifb.  If you want to use more than one ifb
	  device at a time, you need to compile this driver as a module.
	  Instead of 'ifb', the devices will then be called 'ifb0',
	  'ifb1' etc.
	  Look at the iproute2 documentation directory for usage etc

source "drivers/net/team/Kconfig"

config CONFIG_MACVLAN
	tristate "MAC-VLAN support"
	---help---
	  This allows one to create virtual interfaces that map packets to
	  or from specific CONFIG_MAC addresses to a particular interface.

	  Macvlan devices can be added using the "ip" command from the
	  iproute2 package starting with the iproute2-2.6.23 release:

	  "ip link add link <real dev> [ address MAC ] [ NAME ] type macvlan"

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called macvlan.

config CONFIG_MACVTAP
	tristate "MAC-VLAN based tap driver"
	depends on CONFIG_MACVLAN
	depends on CONFIG_INET
	help
	  This adds a specialized tap character device driver that is based
	  on the CONFIG_MAC-VLAN network interface, called macvtap. CONFIG_A macvtap device
	  can be added in the same way as a macvlan device, using 'type
	  macvtap', and then be accessed through the tap user space interface.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called macvtap.


config CONFIG_IPVLAN
    tristate "IP-VLAN support"
    depends on CONFIG_INET
    depends on CONFIG_IPV6
    depends on CONFIG_NETFILTER
    depends on CONFIG_NET_L3_MASTER_DEV
    ---help---
      This allows one to create virtual devices off of a main interface
      and packets will be delivered based on the dest L3 (IPv6/IPv4 addr)
      on packets. All interfaces (including the main interface) share L2
      making it transparent to the connected L2 switch.

      Ipvlan devices can be added using the "ip" command from the
      iproute2 package starting with the iproute2-3.19 release:

      "ip link add link <main-dev> [ NAME ] type ipvlan"

      To compile this driver as a module, choose CONFIG_M here: the module
      will be called ipvlan.


config CONFIG_VXLAN
       tristate "Virtual eXtensible Local Area Network (VXLAN)"
       depends on CONFIG_INET
       select CONFIG_NET_UDP_TUNNEL
       ---help---
	  This allows one to create vxlan virtual interfaces that provide
	  Layer 2 Networks over Layer 3 Networks. CONFIG_VXLAN is often used
	  to tunnel virtual network infrastructure in virtualized environments.
	  For more information see:
	    http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-02

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called vxlan.

config CONFIG_GENEVE
       tristate "Generic Network Virtualization Encapsulation"
       depends on CONFIG_INET && CONFIG_NET_UDP_TUNNEL
       select CONFIG_NET_IP_TUNNEL
       ---help---
	  This allows one to create geneve virtual interfaces that provide
	  Layer 2 Networks over Layer 3 Networks. CONFIG_GENEVE is often used
	  to tunnel virtual network infrastructure in virtualized environments.
	  For more information see:
	    http://tools.ietf.org/html/draft-gross-geneve-02

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called geneve.

config CONFIG_GTP
	tristate "GPRS Tunneling Protocol datapath (GTP-U)"
	depends on CONFIG_INET && CONFIG_NET_UDP_TUNNEL
	select CONFIG_NET_IP_TUNNEL
	---help---
	  This allows one to create gtp virtual interfaces that provide
	  the GPRS Tunneling Protocol datapath (CONFIG_GTP-U). This tunneling protocol
	  is used to prevent subscribers from accessing mobile carrier core
	  network infrastructure. This driver requires a userspace software that
	  implements the signaling protocol (CONFIG_GTP-CONFIG_C) to update its PDP context
	  base, such as OpenGGSN <http://git.osmocom.org/openggsn/). This
	  tunneling protocol is implemented according to the GSM TS 09.60 and
	  3GPP TS 29.060 standards.

	  To compile this drivers as a module, choose CONFIG_M here: the module
	  wil be called gtp.

config CONFIG_MACSEC
	tristate "IEEE 802.1AE MAC-level encryption (MACsec)"
	select CONFIG_CRYPTO
	select CONFIG_CRYPTO_AES
	select CONFIG_CRYPTO_GCM
	---help---
	   MACsec is an encryption standard for Ethernet.

config CONFIG_NETCONSOLE
	tristate "Network console logging support"
	---help---
	If you want to log kernel messages over the network, enable this.
	See <file:Documentation/networking/netconsole.txt> for details.

config CONFIG_NETCONSOLE_DYNAMIC
	bool "Dynamic reconfiguration of logging targets"
	depends on CONFIG_NETCONSOLE && CONFIG_SYSFS && CONFIG_CONFIGFS_FS && \
			!(CONFIG_NETCONSOLE=y && CONFIG_CONFIGFS_FS=m)
	help
	  This option enables the ability to dynamically reconfigure target
	  parameters (interface, IP addresses, port numbers, CONFIG_MAC addresses)
	  at runtime through a userspace interface exported using configfs.
	  See <file:Documentation/networking/netconsole.txt> for details.

config CONFIG_NETPOLL
	def_bool CONFIG_NETCONSOLE
	select CONFIG_SRCU

config CONFIG_NET_POLL_CONTROLLER
	def_bool CONFIG_NETPOLL

config CONFIG_NTB_NETDEV
	tristate "Virtual Ethernet over NTB Transport"
	depends on CONFIG_NTB_TRANSPORT

config CONFIG_RIONET
	tristate "RapidIO Ethernet over messaging driver support"
	depends on CONFIG_RAPIDIO

config CONFIG_RIONET_TX_SIZE
	int "Number of outbound queue entries"
	depends on CONFIG_RIONET
	default "128"

config CONFIG_RIONET_RX_SIZE
	int "Number of inbound queue entries"
	depends on CONFIG_RIONET
	default "128"

config CONFIG_TUN
	tristate "Universal TUN/TAP device driver support"
	depends on CONFIG_INET
	select CONFIG_CRC32
	---help---
	  CONFIG_TUN/CONFIG_TAP provides packet reception and transmission for user space
	  programs.  It can be viewed as a simple Point-to-Point or Ethernet
	  device, which instead of receiving packets from a physical media,
	  receives them from user space program and instead of sending packets
	  via physical media writes them to the user space program.

	  When a program opens /dev/net/tun, driver creates and registers
	  corresponding net device tunX or tapX.  After a program closed above
	  devices, driver will automatically delete tunXX or tapXX device and
	  all routes corresponding to it.

	  Please read <file:Documentation/networking/tuntap.txt> for more
	  information.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called tun.

	  If you don't know what to use this for, you don't need it.

config CONFIG_TUN_VNET_CROSS_LE
	bool "Support for cross-endian vnet headers on little-endian kernels"
	default n
	---help---
	  This option allows CONFIG_TUN/CONFIG_TAP and CONFIG_MACVTAP device drivers in a
	  little-endian kernel to parse vnet headers that come from a
	  big-endian legacy virtio device.

	  Userspace programs can control the feature using the TUNSETVNETBE
	  and TUNGETVNETBE ioctls.

	  Unless you have a little-endian system hosting a big-endian virtual
	  machine with a legacy virtio NIC, you should say N.

config CONFIG_VETH
	tristate "Virtual ethernet pair device"
	---help---
	  This device is a local ethernet tunnel. Devices are created in pairs.
	  When one end receives the packet it appears on its pair and vice
	  versa.

config CONFIG_VIRTIO_NET
	tristate "Virtio network driver"
	depends on CONFIG_VIRTIO
	---help---
	  This is the virtual network driver for virtio.  It can be used with
	  lguest or QEMU based VMMs (like CONFIG_KVM or Xen).  Say Y or CONFIG_M.

config CONFIG_NLMON
	tristate "Virtual netlink monitoring device"
	---help---
	  This option enables a monitoring net device for netlink skbs. The
	  purpose of this is to analyze netlink messages with packet sockets.
	  Thus applications like tcpdump will be able to see local netlink
	  messages if they tap into the netlink device, record pcaps for further
	  diagnostics, etc. This is mostly intended for developers or support
	  to debug netlink issues. If unsure, say N.

config CONFIG_NET_VRF
	tristate "Virtual Routing and Forwarding (Lite)"
	depends on CONFIG_IP_MULTIPLE_TABLES
	depends on CONFIG_NET_L3_MASTER_DEV
	depends on CONFIG_IPV6 || CONFIG_IPV6=n
	depends on CONFIG_IPV6_MULTIPLE_TABLES || CONFIG_IPV6=n
	---help---
	  This option enables the support for mapping interfaces into VRF's. The
	  support enables VRF devices.

endif # CONFIG_NET_CORE

config CONFIG_SUNGEM_PHY
	tristate

source "drivers/net/arcnet/Kconfig"

source "drivers/atm/Kconfig"

source "drivers/net/caif/Kconfig"

source "drivers/net/dsa/Kconfig"

source "drivers/net/ethernet/Kconfig"

source "drivers/net/fddi/Kconfig"

source "drivers/net/hippi/Kconfig"

config CONFIG_NET_SB1000
	tristate "General Instruments Surfboard 1000"
	depends on CONFIG_PNP
	---help---
	  This is a driver for the General Instrument (also known as
	  NextLevel) SURFboard 1000 internal
	  cable modem. This is an CONFIG_ISA card which is used by a number of cable
	  TV companies to provide cable modem access. It's a one-way
	  downstream-only cable modem, meaning that your upstream net link is
	  provided by your regular phone modem.

	  At present this driver only compiles as a module, so say CONFIG_M here if
	  you have this card. The module will be called sb1000. Then read
	  <file:Documentation/networking/README.sb1000> for information on how
	  to use this module, as it needs special ppp scripts for establishing
	  a connection. Further documentation and the necessary scripts can be
	  found at:

	  <http://www.jacksonville.net/~fventuri/>
	  <http://home.adelphia.net/~siglercm/sb1000.html>
	  <http://linuxpower.cx/~cable/>

	  If you don't have this card, of course say N.

source "drivers/net/phy/Kconfig"

source "drivers/net/plip/Kconfig"

source "drivers/net/ppp/Kconfig"

source "drivers/net/slip/Kconfig"

source "drivers/s390/net/Kconfig"

source "drivers/net/usb/Kconfig"

source "drivers/net/wireless/Kconfig"

source "drivers/net/wimax/Kconfig"

source "drivers/net/wan/Kconfig"

source "drivers/net/ieee802154/Kconfig"

config CONFIG_XEN_NETDEV_FRONTEND
	tristate "Xen network device frontend driver"
	depends on CONFIG_XEN
	select CONFIG_XEN_XENBUS_FRONTEND
	default y
	help
	  This driver provides support for Xen paravirtual network
	  devices exported by a Xen network driver domain (often
	  domain 0).

	  The corresponding Linux backend driver is enabled by the
	  CONFIG_XEN_NETDEV_BACKEND option.

	  If you are compiling a kernel for use as Xen guest, you
	  should say Y here. To compile this driver as a module, chose
	  CONFIG_M here: the module will be called xen-netfront.

config CONFIG_XEN_NETDEV_BACKEND
	tristate "Xen backend network device"
	depends on CONFIG_XEN_BACKEND
	help
	  This driver allows the kernel to act as a Xen network driver
	  domain which exports paravirtual network devices to other
	  Xen domains. These devices can be accessed by any operating
	  system that implements a compatible front end.

	  The corresponding Linux frontend driver is enabled by the
	  CONFIG_XEN_NETDEV_FRONTEND configuration option.

	  The backend driver presents a standard network device
	  endpoint for each paravirtual network device to the driver
	  domain network stack. These can then be bridged or routed
	  etc in order to provide full network connectivity.

	  If you are compiling a kernel to run in a Xen network driver
	  domain (often this is domain 0) you should say Y here. To
	  compile this driver as a module, chose CONFIG_M here: the module
	  will be called xen-netback.

config CONFIG_VMXNET3
	tristate "VMware VMXNET3 ethernet driver"
	depends on CONFIG_PCI && CONFIG_INET
	help
	  This driver supports VMware's vmxnet3 virtual ethernet NIC.
	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called vmxnet3.

config CONFIG_FUJITSU_ES
	tristate "FUJITSU Extended Socket Network Device driver"
	depends on CONFIG_ACPI
	help
	  This driver provides support for Extended Socket network device
          on Extended Partitioning of FUJITSU PRIMEQUEST 2000 CONFIG_E2 series.

source "drivers/net/hyperv/Kconfig"

endif # CONFIG_NETDEVICES