]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r362824:
authorRyan Moeller <freqlabs@FreeBSD.org>
Thu, 9 Jul 2020 09:33:32 +0000 (09:33 +0000)
committerRyan Moeller <freqlabs@FreeBSD.org>
Thu, 9 Jul 2020 09:33:32 +0000 (09:33 +0000)
commit7cc28e664ac5f1afbd13a286da6f33ddd5432f34
treefac72788b996a20b3708bb4ab77c8a4aef925a23
parent09141153f5c2706740b88c214be0a4c8b2b3f1ff
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
lib/libifconfig/Makefile
lib/libifconfig/libifconfig.h
lib/libifconfig/libifconfig_bridge.c [new file with mode: 0644]
sbin/ifconfig/ifbridge.c
sys/net/if_bridgevar.h