2005-04-17 06:20:36 +08:00
|
|
|
#
|
2011-03-30 09:25:21 +08:00
|
|
|
# Makefile for the Linux network device drivers.
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
2011-08-23 15:42:10 +08:00
|
|
|
# Networking Core Drivers
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_BONDING) += bonding/
|
2014-11-24 15:07:46 +08:00
|
|
|
obj-$(CONFIG_IPVLAN) += ipvlan/
|
2017-02-11 08:03:52 +08:00
|
|
|
obj-$(CONFIG_IPVTAP) += ipvlan/
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_DUMMY) += dummy.o
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_EQUALIZER) += eql.o
|
2006-01-09 14:34:25 +08:00
|
|
|
obj-$(CONFIG_IFB) += ifb.o
|
2016-03-12 01:07:33 +08:00
|
|
|
obj-$(CONFIG_MACSEC) += macsec.o
|
2007-07-15 09:55:06 +08:00
|
|
|
obj-$(CONFIG_MACVLAN) += macvlan.o
|
2010-01-30 20:24:26 +08:00
|
|
|
obj-$(CONFIG_MACVTAP) += macvtap.o
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_MII) += mii.o
|
|
|
|
obj-$(CONFIG_MDIO) += mdio.o
|
|
|
|
obj-$(CONFIG_NET) += Space.o loopback.o
|
|
|
|
obj-$(CONFIG_NETCONSOLE) += netconsole.o
|
2017-03-29 03:57:09 +08:00
|
|
|
obj-y += phy/
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_RIONET) += rionet.o
|
2011-11-12 06:16:48 +08:00
|
|
|
obj-$(CONFIG_NET_TEAM) += team/
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_TUN) += tun.o
|
2017-02-11 08:03:51 +08:00
|
|
|
obj-$(CONFIG_TAP) += tap.o
|
2007-09-26 07:14:46 +08:00
|
|
|
obj-$(CONFIG_VETH) += veth.o
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
|
2012-10-01 20:32:35 +08:00
|
|
|
obj-$(CONFIG_VXLAN) += vxlan.o
|
2015-05-14 00:57:30 +08:00
|
|
|
obj-$(CONFIG_GENEVE) += geneve.o
|
2016-05-09 06:55:48 +08:00
|
|
|
obj-$(CONFIG_GTP) += gtp.o
|
packet: nlmon: virtual netlink monitoring device for packet sockets
Currently, there is no good possibility to debug netlink traffic that
is being exchanged between kernel and user space. Therefore, this patch
implements a netlink virtual device, so that netlink messages will be
made visible to PF_PACKET sockets. Once there was an approach with a
similar idea [1], but it got forgotten somehow.
I think it makes most sense to accept the "overhead" of an extra netlink
net device over implementing the same functionality from PF_PACKET
sockets once again into netlink sockets. We have BPF filters that can
already be easily applied which even have netlink extensions, we have
RX_RING zero-copy between kernel- and user space that can be reused,
and much more features. So instead of re-implementing all of this, we
simply pass the skb to a given PF_PACKET socket for further analysis.
Another nice benefit that comes from that is that no code needs to be
changed in user space packet analyzers (maybe adding a dissector, but
not more), thus out of the box, we can already capture pcap files of
netlink traffic to debug/troubleshoot netlink problems.
Also thanks goes to Thomas Graf, Flavio Leitner, Jesper Dangaard Brouer.
[1] http://marc.info/?l=linux-netdev&m=113813401516110
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-22 01:38:08 +08:00
|
|
|
obj-$(CONFIG_NLMON) += nlmon.o
|
2015-08-14 04:59:10 +08:00
|
|
|
obj-$(CONFIG_NET_VRF) += vrf.o
|
2017-04-21 17:10:45 +08:00
|
|
|
obj-$(CONFIG_VSOCKMON) += vsockmon.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2011-08-23 15:42:10 +08:00
|
|
|
#
|
|
|
|
# Networking Drivers
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_ARCNET) += arcnet/
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_DEV_APPLETALK) += appletalk/
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_CAIF) += caif/
|
|
|
|
obj-$(CONFIG_CAN) += can/
|
|
|
|
obj-$(CONFIG_ETRAX_ETHERNET) += cris/
|
2011-11-28 01:08:33 +08:00
|
|
|
obj-$(CONFIG_NET_DSA) += dsa/
|
2011-03-30 18:47:06 +08:00
|
|
|
obj-$(CONFIG_ETHERNET) += ethernet/
|
2011-07-31 15:06:29 +08:00
|
|
|
obj-$(CONFIG_FDDI) += fddi/
|
2011-08-02 13:48:13 +08:00
|
|
|
obj-$(CONFIG_HIPPI) += hippi/
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_HAMRADIO) += hamradio/
|
2011-08-03 18:01:58 +08:00
|
|
|
obj-$(CONFIG_PLIP) += plip/
|
2011-08-30 02:49:40 +08:00
|
|
|
obj-$(CONFIG_PPP) += ppp/
|
2011-07-31 17:38:19 +08:00
|
|
|
obj-$(CONFIG_PPP_ASYNC) += ppp/
|
|
|
|
obj-$(CONFIG_PPP_BSDCOMP) += ppp/
|
|
|
|
obj-$(CONFIG_PPP_DEFLATE) += ppp/
|
|
|
|
obj-$(CONFIG_PPP_MPPE) += ppp/
|
|
|
|
obj-$(CONFIG_PPP_SYNC_TTY) += ppp/
|
|
|
|
obj-$(CONFIG_PPPOE) += ppp/
|
|
|
|
obj-$(CONFIG_PPPOL2TP) += ppp/
|
|
|
|
obj-$(CONFIG_PPTP) += ppp/
|
2011-08-30 02:49:40 +08:00
|
|
|
obj-$(CONFIG_SLIP) += slip/
|
2011-08-03 18:17:13 +08:00
|
|
|
obj-$(CONFIG_SLHC) += slip/
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_NET_SB1000) += sb1000.o
|
|
|
|
obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_WAN) += wan/
|
2011-08-23 15:42:10 +08:00
|
|
|
obj-$(CONFIG_WLAN) += wireless/
|
|
|
|
obj-$(CONFIG_WIMAX) += wimax/
|
2012-08-26 13:10:11 +08:00
|
|
|
obj-$(CONFIG_IEEE802154) += ieee802154/
|
2011-08-23 15:42:10 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_VMXNET3) += vmxnet3/
|
|
|
|
obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
|
|
|
|
obj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/
|
2007-05-10 09:31:55 +08:00
|
|
|
|
2014-08-06 05:10:52 +08:00
|
|
|
obj-$(CONFIG_USB_NET_DRIVERS) += usb/
|
2011-11-29 05:35:35 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_HYPERV_NET) += hyperv/
|
2012-11-17 10:27:13 +08:00
|
|
|
obj-$(CONFIG_NTB_NETDEV) += ntb_netdev.o
|
2015-08-21 16:29:17 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_FUJITSU_ES) += fjes/
|