freebsd-skq/lib/libifconfig/Symbol.map
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

89 lines
2.3 KiB
Plaintext

FBSD_1.6 {
ifconfig_bridge_get_bridge_status;
ifconfig_bridge_free_bridge_status;
ifconfig_carp_get_info;
ifconfig_close;
ifconfig_create_interface;
ifconfig_create_interface_vlan;
ifconfig_destroy_interface;
ifconfig_err_errno;
ifconfig_err_errtype;
ifconfig_err_ioctlreq;
ifconfig_foreach_ifaddr;
ifconfig_foreach_iface;
ifconfig_get_capability;
ifconfig_get_description;
ifconfig_get_fib;
ifconfig_get_groups;
ifconfig_get_ifstatus;
ifconfig_get_metric;
ifconfig_get_mtu;
ifconfig_get_nd6;
ifconfig_get_orig_name;
ifconfig_inet_get_addrinfo;
ifconfig_inet6_get_addrinfo;
ifconfig_lagg_free_lagg_status;
ifconfig_lagg_get_lagg_status;
ifconfig_lagg_get_laggport_status;
ifconfig_list_cloners;
ifconfig_media_get_downreason;
ifconfig_media_get_mediareq;
ifconfig_media_get_mode;
ifconfig_media_get_options;
ifconfig_media_get_status;
ifconfig_media_get_subtype;
ifconfig_media_get_type;
ifconfig_media_lookup_mode;
ifconfig_media_lookup_options;
ifconfig_media_lookup_subtype;
ifconfig_media_lookup_type;
ifconfig_open;
ifconfig_set_capability;
ifconfig_set_description;
ifconfig_set_fib;
ifconfig_set_metric;
ifconfig_set_mtu;
ifconfig_set_name;
ifconfig_set_vlantag;
ifconfig_sfp_channel_count;
ifconfig_sfp_dump_region_count;
ifconfig_sfp_free_sfp_status;
ifconfig_sfp_get_sfp_dump;
ifconfig_sfp_get_sfp_info;
ifconfig_sfp_get_sfp_info_strings;
ifconfig_sfp_get_sfp_status;
ifconfig_sfp_get_sfp_vendor_info;
ifconfig_sfp_physical_spec;
ifconfig_unset_description;
bias_mA;
power_dBm;
power_mW;
/* Auto-generated. */
ifconfig_sfp_cab_tech_description;
ifconfig_sfp_cab_tech_symbol;
ifconfig_sfp_conn_description;
ifconfig_sfp_conn_symbol;
ifconfig_sfp_eth_1040g_description;
ifconfig_sfp_eth_1040g_symbol;
ifconfig_sfp_eth_10g_description;
ifconfig_sfp_eth_10g_symbol;
ifconfig_sfp_eth_description;
ifconfig_sfp_eth_ext_description;
ifconfig_sfp_eth_ext_symbol;
ifconfig_sfp_eth_symbol;
ifconfig_sfp_fc_len_description;
ifconfig_sfp_fc_len_symbol;
ifconfig_sfp_fc_media_description;
ifconfig_sfp_fc_media_symbol;
ifconfig_sfp_fc_speed_description;
ifconfig_sfp_fc_speed_symbol;
ifconfig_sfp_id_description;
ifconfig_sfp_id_display;
ifconfig_sfp_id_is_qsfp;
ifconfig_sfp_id_symbol;
ifconfig_sfp_rev_description;
ifconfig_sfp_rev_symbol;
};