platform_bionic/libc/kernel/uapi/rdma
Colin Cross d27506716a Define sockaddr_storage in bionic
Bionic currently renames the kernel's __kernel_sockaddr_storage
to sockaddr_storage.  We would like to reuse the bionic kernel
headers for musl, but musl defines its own sockaddr_storage,
causing redefinition errors when the musl and kernel headers
are both included.

Give bionic its own definition of sockaddr_storage so the kernel
one can be left as __kernel_sockaddr_storage, avoiding the
conflict in musl.

Some of the structs in netinet/in.h contain sockaddr_storage members.
There are definitions in linux/in.h, but they now use the
__kernel_sockaddr_storage naming.  To avoid having to copy the structs
from linux/in.h into netinet/in.h, add some #define hackery to
rename __kernel_sockaddr_storage to sockaddr_storage when including
linux/in.h from netinet/in.h.

Bug: 190084016
Test: m checkbuild
Test: bionic-unit-tests
Change-Id: I8f654511722b3a4a8e0bb146e4418ebcd370305c
2021-07-14 14:20:36 -07:00
..
hfi Update to v5.8 kernel headers. 2020-08-04 13:50:49 -07:00
bnxt_re-abi.h Update to kernel headers to v5.1.3. 2019-05-20 12:58:13 -07:00
cxgb4-abi.h Update to v4.19 kernel headers. 2018-10-30 09:21:16 -07:00
efa-abi.h Update to v5.10 kernel headers. 2020-12-14 22:37:59 -08:00
hns-abi.h Update to v5.13 kernel headers. 2021-07-01 01:30:21 +00:00
i40iw-abi.h Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
ib_user_ioctl_cmds.h Update to v5.12 kernel headers. 2021-05-03 15:01:39 -07:00
ib_user_ioctl_verbs.h Update to v5.10 kernel headers. 2020-12-14 22:37:59 -08:00
ib_user_mad.h Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
ib_user_sa.h Remove the repetitive warnings from the uapi headers. 2017-05-25 13:48:01 -07:00
ib_user_verbs.h Update to v5.11 kernel headers. 2021-02-16 16:01:34 -08:00
mlx4-abi.h Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
mlx5-abi.h Update to v5.8 kernel headers. 2020-08-04 13:50:49 -07:00
mlx5_user_ioctl_cmds.h Update to v5.13 kernel headers. 2021-07-01 01:30:21 +00:00
mlx5_user_ioctl_verbs.h Update to v5.13 kernel headers. 2021-07-01 01:30:21 +00:00
mthca-abi.h Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
ocrdma-abi.h Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
qedr-abi.h Update to v5.9 kernel headers. 2020-10-19 15:48:58 -07:00
rdma_netlink.h Update to v5.13 kernel headers. 2021-07-01 01:30:21 +00:00
rdma_user_cm.h Define sockaddr_storage in bionic 2021-07-14 14:20:36 -07:00
rdma_user_ioctl.h Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
rdma_user_ioctl_cmds.h Update to v5.5 kernel headers. 2020-02-07 20:14:42 +00:00
rdma_user_rxe.h Update to v5.11 kernel headers. 2021-02-16 16:01:34 -08:00
rvt-abi.h Update to kernel headers v5.3.2. 2019-10-03 10:59:32 -07:00
siw-abi.h Update to kernel headers v5.3.2. 2019-10-03 10:59:32 -07:00
vmw_pvrdma-abi.h Update to v5.11 kernel headers. 2021-02-16 16:01:34 -08:00