MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bstp_set_all_sync

Function bstp_set_all_sync

freebsd/net/bridgestp.c:1187–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1185}
1186
1187static void
1188bstp_set_all_sync(struct bstp_state *bs)
1189{
1190 struct bstp_port *bp;
1191
1192 BSTP_LOCK_ASSERT(bs);
1193
1194 LIST_FOREACH(bp, &bs->bs_bplist, bp_next) {
1195 bp->bp_sync = 1;
1196 bp->bp_synced = 0; /* Not explicit in spec */
1197 }
1198
1199 bs->bs_allsynced = 0;
1200}
1201
1202static void
1203bstp_set_port_state(struct bstp_port *bp, int state)

Callers 1

bstp_update_rolesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected