@@ -216,6 +216,7 @@ source "net/dcb/Kconfig"
source "net/dns_resolver/Kconfig"
source "net/batman-adv/Kconfig"
source "net/openvswitch/Kconfig"
+source "net/lldp/Kconfig"
config RPS
boolean
@@ -70,3 +70,4 @@ obj-$(CONFIG_CEPH_LIB) += ceph/
obj-$(CONFIG_BATMAN_ADV) += batman-adv/
obj-$(CONFIG_NFC) += nfc/
obj-$(CONFIG_OPENVSWITCH) += openvswitch/
+obj-$(CONFIG_LLDP) += lldp/
new file mode 100644
@@ -0,0 +1,21 @@
+#
+# Link Layer Discovery Protocol (LLDP)
+# IEEE Std 802.1ab
+#
+
+config LLDP
+ tristate "Link Layer Discovery Protocol (LLDP) Support"
+ depends on EXPERIMENTAL
+ default n
+ ---help---
+ Enables experimental support for the LLDP protocol described in
+ IEEE Std 802.1ab.
+
+ The LLDP protocol allows nodes to advertise their identification,
+ configuration and capabilities to neighbors on the same link.
+ Currently, only advertisement is implemented.
+
+ To compile this code as a module, choose M here: the
+ module will be called lldp.
+
+ If unsure say N.
new file mode 100644
@@ -0,0 +1,7 @@
+#
+# Makefile for the Linux Link Layer Discovery Protocol (LLDP) implementation.
+#
+
+obj-$(CONFIG_LLDP) += lldp.o
+
+lldp-objs := lldp_core.o lldp_output.o lldpdu.o sysctl_net_lldp.o
Adds Kconfig and Makefile for LLDP, and sources these in net/Makefile and net/Kconfig. Signed-off-by: Eldad Zack <eldad@fogrefinery.com> --- net/Kconfig | 1 + net/Makefile | 1 + net/lldp/Kconfig | 21 +++++++++++++++++++++ net/lldp/Makefile | 7 +++++++ 4 files changed, 30 insertions(+) create mode 100644 net/lldp/Kconfig create mode 100644 net/lldp/Makefile