summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-06-19 10:15:22 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-23 14:41:31 +0200
commit0c2a4178d796b75001cc586b3ab4a5e42ddb7850 (patch)
treef9354635e0c7c4e753e5d166a0ab04a6d8ec489c /tools/include
parent7381c4d0bc10faeeaa2c093a65e492721a220f0f (diff)
downloadlinux-stable-0c2a4178d796b75001cc586b3ab4a5e42ddb7850.tar.gz
linux-stable-0c2a4178d796b75001cc586b3ab4a5e42ddb7850.tar.bz2
linux-stable-0c2a4178d796b75001cc586b3ab4a5e42ddb7850.zip
tools headers UAPI: Sync linux/in.h copy with the kernel sources
commit 1792a59eab9593de2eae36c40c5a22d70f52c026 upstream. To pick the changes in: 321827477360934d ("icmp: don't send out ICMP messages with a source address of 0.0.0.0") That don't result in any change in tooling, as INADDR_ are not used to generate id->string tables used by 'perf trace'. This addresses this build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/in.h' differs from latest version at 'include/uapi/linux/in.h' diff -u tools/include/uapi/linux/in.h include/uapi/linux/in.h Cc: David S. Miller <davem@davemloft.net> Cc: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/in.h b/tools/include/uapi/linux/in.h
index e7ad9d350a28..60e1241d4b77 100644
--- a/tools/include/uapi/linux/in.h
+++ b/tools/include/uapi/linux/in.h
@@ -284,6 +284,9 @@ struct sockaddr_in {
/* Address indicating an error return. */
#define INADDR_NONE ((unsigned long int) 0xffffffff)
+/* Dummy address for src of ICMP replies if no real address is set (RFC7600). */
+#define INADDR_DUMMY ((unsigned long int) 0xc0000008)
+
/* Network number for local host loopback. */
#define IN_LOOPBACKNET 127