Ed Maste
c1aedfcbd9
add SIOCGIFDATA ioctl
...
For interfaces that do not support SIOCGIFMEDIA (for which there are
quite a few) the only fallback is to query the interface for
if_data->ifi_link_state. While it's possible to get at if_data for an
interface via getifaddrs(3) or sysctl, both are heavy weight mechanisms.
SIOCGIFDATA is a simple ioctl to retrieve this fast with very little
resource use in comparison. This implementation mirrors that of other
similar ioctls in FreeBSD.
Submitted by: Roy Marples <roy@marples.name>
Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D26538
2020-09-28 16:54:39 +00:00
..
2020-09-01 21:19:14 +00:00
2020-09-21 20:02:26 +00:00
2020-02-26 14:26:36 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-04-26 18:42:38 +00:00
2019-12-21 21:01:03 +00:00
2020-02-07 15:16:04 +00:00
2020-09-16 14:45:16 +00:00
2020-03-09 13:44:51 +00:00
2020-09-01 21:19:14 +00:00
2020-07-01 02:32:41 +00:00
2020-09-01 21:19:14 +00:00
2020-01-28 22:44:24 +00:00
2020-09-01 21:19:14 +00:00
2020-03-02 02:45:57 +00:00
2020-05-29 19:22:40 +00:00
2020-09-08 14:54:10 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-01-15 06:18:32 +00:00
2020-06-03 13:02:31 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-06-11 22:46:08 +00:00
2020-09-01 21:19:14 +00:00
2020-03-04 17:17:02 +00:00
2020-09-01 21:19:14 +00:00
2020-06-03 13:02:31 +00:00
2020-09-01 21:19:14 +00:00
2020-09-16 14:45:16 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-07-02 21:04:08 +00:00
2020-09-01 21:19:14 +00:00
2020-07-12 11:24:23 +00:00
2020-09-01 21:19:14 +00:00
2020-09-18 02:37:57 +00:00
2020-09-18 02:37:57 +00:00
2020-09-28 16:54:39 +00:00
2020-09-18 02:10:28 +00:00
2020-04-27 22:02:44 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-05-13 18:07:37 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-01-13 21:47:23 +00:00
2020-09-01 21:19:14 +00:00
2020-01-23 01:49:22 +00:00
2020-06-04 22:58:37 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-04-28 08:06:56 +00:00
2020-09-01 21:19:14 +00:00
2020-02-26 14:26:36 +00:00
2020-09-21 20:02:26 +00:00
2020-09-21 20:02:26 +00:00
2020-09-01 21:19:14 +00:00
2020-09-21 20:02:26 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-09-01 21:19:14 +00:00
2020-02-17 11:08:50 +00:00
2020-09-01 21:19:14 +00:00