| 1978 | } |
| 1979 | |
| 1980 | static void |
| 1981 | bstp_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 | |
| 1991 | static int |
| 1992 | bstp_addr_cmp(const uint8_t *a, const uint8_t *b) |
no outgoing calls
no test coverage detected