opnsense-src/share/examples
Ryan Moeller 534e161747 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
Differential Revision:	https://reviews.freebsd.org/D29029

(cherry picked from commit c4ba4aa547)
2021-03-19 09:00:19 -04:00
..
bhyve
bootforth
BSD_daemon
csh
diskless
drivers
etc
find_interface
flua
FreeBSD_version
hast
hwpmc
indent
ipfilter
ipfw
IPv6
jails
kld
libifconfig
libusb20
libvgl
mdoc
netgraph
perfmon
pf
ppi
ppp
printing
scsi_target
ses
smbfs
sunrpc
tests
uefisign
witness
ypldap
Makefile
Makefile.depend