tools include uapi: Grab a copy of linux/in.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Jul 2018 12:26:13 +0000 (09:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 31 Jul 2018 13:52:37 +0000 (10:52 -0300)
commita4b2061242ecc024b1ee975e066b6e38db1c6b9e
treecd6ce8e563558e5e11cf1aefce4ad6184fe72b57
parenta6f39cecf71537d105f4bf87b8d4760851960838
tools include uapi: Grab a copy of linux/in.h

We'll use it to create tables for the 'protocol' argument to the
socket syscall when the 'family' arg is one of AF_INET or AF_INET6.

Add it to check_headers.sh so that when a new protocol gets added we get
a notification during the build process.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-2amnveu1ns4emjn70xuavpje@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/in.h [new file with mode: 0644]
tools/perf/check-headers.sh