net: add a generic udp protocol
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 18 Sep 2020 12:13:00 +0000 (14:13 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 20:55:03 +0000 (16:55 -0400)
commitb43ea1bf18bf4ba5eeec7131c1a19d864399e422
tree5ae63ab33c462f8c016a61f31eea62c8240dd6e5
parentcafaa301c98aa8f1b81cf61a91d22d5d68b4b1d3
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>
doc/README.udp [new file with mode: 0644]
include/net.h
include/net/udp.h [new file with mode: 0644]
net/Kconfig
net/Makefile
net/net.c
net/udp.c [new file with mode: 0644]