freebsd-nq/lib/libifconfig
Ryan Moeller c4ba4aa547 libifconfig: Overhaul ifconfig_media_* interfaces
Define an ifmedia_t type to use for ifmedia words.

Add ifconfig_media_lookup_* functions to lookup ifmedia words by name.

Get media options as an array of option names rather than formatting it
as a comma-delimited list into a buffer.

Sprinkle const on static the static description tables for peace of
mind.

Don't need to zero memory allocated by calloc.

Reviewed by:	kp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D29029
2021-03-05 04:15:55 -05:00
..
libifconfig_bridge.c libifconfig: Add function to get bridge status 2020-07-01 02:32:41 +00:00
libifconfig_carp.c libifconfig: multiple feature additions 2018-02-23 03:11:43 +00:00
libifconfig_inet6.c libifconfig: remove redundant NULL check 2020-05-27 18:26:10 +00:00
libifconfig_inet.c libifconfig: multiple feature additions 2018-02-23 03:11:43 +00:00
libifconfig_internal.c libifconfig: multiple feature additions 2018-02-23 03:11:43 +00:00
libifconfig_internal.h libifconfig: multiple feature additions 2018-02-23 03:11:43 +00:00
libifconfig_lagg.c libifconfig: multiple feature additions 2018-02-23 03:11:43 +00:00
libifconfig_media.c libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00
libifconfig_sfp_tables_internal.tpl.h Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
libifconfig_sfp_tables.tpl.c Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
libifconfig_sfp_tables.tpl.h Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
libifconfig_sfp.c Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
libifconfig_sfp.h Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
libifconfig.c libifconfig: Set error in ifconfig_get_groups 2021-02-27 18:12:23 -05:00
libifconfig.h libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00
Makefile libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00
Makefile.depend
sfp.lua Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
Symbol.map libifconfig: Overhaul ifconfig_media_* interfaces 2021-03-05 04:15:55 -05:00