1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-06 11:41:02 +03:00
Maciej W. Rozycki 7a751ce39c Linux: Drop obsolete kernel support with if_nameindex' and if_nametoindex'
Support for the SIOCGIFINDEX ioctl(2) Linux ABI (0x8933 command, called
SIOGIFINDEX in the API originally) was added with kernel version 2.1.14
for AF_INET6 sockets, followed by general support with version 2.1.22.
The Linux API was then updated by adding the current SIOCGIFINDEX name
with kernel version 2.1.68, back in Nov 1997.

All these kernel versions are well below our current default required
minimum of 3.2.0, let alone some platform higher version requirements.

Drop support for the absence of the SIOCGIFINDEX ioctl(2) in the API or
ABI, by removing arrangements for the ENOSYS error condition.  Discard
the indirection from '__if_nameindex' to 'if_nameindex_netlink' and
adjust the implementation of '__if_nametoindex' accordingly for a better
code flow.
2025-06-05 19:04:46 +01:00
..
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-28 10:58:40 +01:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-05-29 19:21:46 +00:00
2025-01-10 20:19:40 +00:00
2025-01-30 10:16:37 -03:00
2025-01-30 10:16:37 -03:00