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

Function bstp_set_ptp

freebsd/net/bridgestp.c:1663–1672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1661}
1662
1663int
1664bstp_set_ptp(struct bstp_port *bp, int set)
1665{
1666 struct bstp_state *bs = bp->bp_bs;
1667
1668 BSTP_LOCK(bs);
1669 bp->bp_ptp_link = set;
1670 BSTP_UNLOCK(bs);
1671 return (0);
1672}
1673
1674int
1675bstp_set_autoptp(struct bstp_port *bp, int set)

Callers 1

bridge_ioctl_sifflagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected