summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-18 21:27:49 +0300
committerTom Rini <trini@konsulko.com>2022-01-21 22:01:34 +0300
commit4b37fd146bb86b72f52b97386602ae58727b09fc (patch)
tree578d5b4efd797c908d38a6faa3bd2daa1e25f57d /net/Kconfig
parent3df6cd4d63678065ce82637d995ed3170e9e56cd (diff)
downloadu-boot-4b37fd146bb86b72f52b97386602ae58727b09fc.tar.xz
Convert CONFIG_UDP_CHECKSUM to Kconfig
This converts the following to Kconfig: CONFIG_UDP_CHECKSUM Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 8e9579afb2..8ddea2823a 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -108,4 +108,11 @@ config KEEP_SERVERADDR
enabled, when an ARP reply is received, the server's IP address is
written there.
+config UDP_CHECKSUM
+ bool "Check the UDP checksum"
+ help
+ Enable this to verify the checksum on UDP packets. If the checksum
+ is wrong then the packet is discussed and an error is shown, like
+ "UDP wrong checksum 29374a23 30ff3826"
+
endif # if NET