HomeFreeBSD

MFC r362824:

Description

MFC r362824:

libifconfig: Add function to get bridge status

The new function operates similarly to ifconfig_lagg_get_lagg_status and
likewise is accompanied by a function to free the bridge status data structure.

I have included in this patch the relocation of some strings describing STP
parameters and the PV2ID macro from ifconfig into net/if_bridgevar.h as they
are useful for consumers of libifconfig.

Reviewed by: kp, melifaro, mmacy
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D25460

Details

Provenance
freqlabsAuthored on
Reviewer
kp
Differential Revision
D25460: libifconfig: Add function to get bridge status
Parents
rS363036: g_concat_find_device: trim /dev/ if it is present, like other GEOM
Branches
Unknown
Tags
Unknown