mirror of
https://github.com/opnsense/src.git
synced 2026-05-14 10:13:48 -04:00
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
Differential Revision: https://reviews.freebsd.org/D29029
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| libifconfig.c | ||
| libifconfig.h | ||
| libifconfig_bridge.c | ||
| libifconfig_carp.c | ||
| libifconfig_inet.c | ||
| libifconfig_inet6.c | ||
| libifconfig_internal.c | ||
| libifconfig_internal.h | ||
| libifconfig_lagg.c | ||
| libifconfig_media.c | ||
| libifconfig_sfp.c | ||
| libifconfig_sfp.h | ||
| libifconfig_sfp_tables.tpl.c | ||
| libifconfig_sfp_tables.tpl.h | ||
| libifconfig_sfp_tables_internal.tpl.h | ||
| Makefile | ||
| Makefile.depend | ||
| sfp.lua | ||
| Symbol.map | ||