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

Function bstp_edge_delay_expiry

freebsd/net/bridgestp.c:1980–1989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1978}
1979
1980static void
1981bstp_edge_delay_expiry(struct bstp_state *bs, struct bstp_port *bp)
1982{
1983 if ((bp->bp_flags & BSTP_PORT_AUTOEDGE) &&
1984 bp->bp_protover == BSTP_PROTO_RSTP && bp->bp_proposing &&
1985 bp->bp_role == BSTP_ROLE_DESIGNATED) {
1986 bp->bp_operedge = 1;
1987 DPRINTF("%s -> edge port\n", bp->bp_ifp->if_xname);
1988 }
1989}
1990
1991static int
1992bstp_addr_cmp(const uint8_t *a, const uint8_t *b)

Callers 2

bstp_set_autoedgeFunction · 0.85
bstp_tickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected