basic/linux: update linux uapi headers
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 25 Jan 2023 11:37:49 +0000 (12:37 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 25 Jan 2023 13:27:18 +0000 (14:27 +0100)
commita95ff98ec40edad2825c824a186f44454120cf1f
tree70a215f59f6038052f2dcc6b5ad2655d4caf4703
parent903dd65b5eb63257393955cb79777beb8c71afc1
basic/linux: update linux uapi headers

IPPROTO_L2TP was moved from linux/l2tp.h to linux/in.h [0], so let's
reflect that change to fix build with newer kernels:

```
In file included from ../src/libsystemd/sd-netlink/netlink-types-genl.c:10:
../src/basic/linux/l2tp.h:16: error: "IPPROTO_L2TP" redefined [-Werror]
   16 | #define IPPROTO_L2TP            115
      |
In file included from ../src/libsystemd/sd-netlink/netlink-types-genl.c:3:
/usr/include/netinet/in.h:85: note: this is the location of the previous definition
   85 | #define IPPROTO_L2TP            IPPROTO_L2TP
      |
cc1: all warnings being treated as errors
```

When at it, update the rest of the headers we ship as well.

[0] https://github.com/torvalds/linux/commit/65b32f801bfbc54dc98144a6ec26082b59d131ee
18 files changed:
src/basic/linux/README
src/basic/linux/btrfs.h
src/basic/linux/btrfs_tree.h
src/basic/linux/genetlink.h
src/basic/linux/if_bridge.h
src/basic/linux/if_ether.h
src/basic/linux/if_link.h
src/basic/linux/if_macsec.h
src/basic/linux/if_tun.h
src/basic/linux/in.h
src/basic/linux/l2tp.h
src/basic/linux/netfilter/nf_tables.h
src/basic/linux/netlink.h
src/basic/linux/nl80211.h
src/basic/linux/pkt_sched.h
src/basic/linux/rtnetlink.h
src/basic/linux/stddef.h [new file with mode: 0644]
src/basic/linux/update.sh