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 <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
cafaa301c9
commit
b43ea1bf18
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user