Skip to content

Commit 1792a59

Browse files
committed
tools headers UAPI: Sync linux/in.h copy with the kernel sources
To pick the changes in: 3218274 ("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 <[email protected]> Cc: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 17d27fc commit 1792a59

File tree

1 file changed

+3
-0
lines changed
  • tools/include/uapi/linux

1 file changed

+3
-0
lines changed

tools/include/uapi/linux/in.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ struct sockaddr_in {
289289
/* Address indicating an error return. */
290290
#define INADDR_NONE ((unsigned long int) 0xffffffff)
291291

292+
/* Dummy address for src of ICMP replies if no real address is set (RFC7600). */
293+
#define INADDR_DUMMY ((unsigned long int) 0xc0000008)
294+
292295
/* Network number for local host loopback. */
293296
#define IN_LOOPBACKNET 127
294297

0 commit comments

Comments
 (0)