summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorPhilippe Reynes <[email protected]>2020-09-18 14:13:00 +0200
committerTom Rini <[email protected]>2020-09-30 16:55:03 -0400
commitb43ea1bf18bf4ba5eeec7131c1a19d864399e422 (patch)
tree5ae63ab33c462f8c016a61f31eea62c8240dd6e5 /net/Kconfig
parentcafaa301c98aa8f1b81cf61a91d22d5d68b4b1d3 (diff)
net: add a generic udp protocol
This commit adds a generic udp protocol framework in the network loop. So protocol based on udp may be implemented without modifying the network loop (for example custom wait magic packet). Signed-off-by: Philippe Reynes <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 6874b55aacb..1b3e420d0d1 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -8,6 +8,12 @@ menuconfig NET
if NET
+config PROT_UDP
+ bool "Enable generic udp framework"
+ help
+ Enable a generic udp framework that allows defining a custom
+ handler for udp protocol.
+
config BOOTP_SEND_HOSTNAME
bool "Send hostname to DNS server"
help