summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-12-11 23:46:40 +0000
committerthompsa <thompsa@FreeBSD.org>2006-12-11 23:46:40 +0000
commita68b5db0667c09becd1a6c1980cb9eabf075be97 (patch)
treef64c9494a36368f4740ab3fbefea5606db6a1f61 /sys/net/bridgestp.h
parenta3a728eabb31b5ce3771f41c9b9b0bab5dbde992 (diff)
downloadFreeBSD-src-a68b5db0667c09becd1a6c1980cb9eabf075be97.zip
FreeBSD-src-a68b5db0667c09becd1a6c1980cb9eabf075be97.tar.gz
These days P2P means peer-2-peer (also well known from serveral filesharing
protocols) while PointToPoint has been PtP links. Change the variables accordingly while the code is still fresh and undocumented. Requested by: bz
Diffstat (limited to 'sys/net/bridgestp.h')
-rw-r--r--sys/net/bridgestp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h
index 025b8f4..8bd7319 100644
--- a/sys/net/bridgestp.h
+++ b/sys/net/bridgestp.h
@@ -108,7 +108,7 @@
#define BSTP_PORT_DISPUTED 0x0004
#define BSTP_PORT_ADMCOST 0x0008
#define BSTP_PORT_AUTOEDGE 0x0010
-#define BSTP_PORT_AUTOP2P 0x0020
+#define BSTP_PORT_AUTOPTP 0x0020
#define BSTP_PORT_ADMEDGE 0x0040
/* BPDU priority */
@@ -305,7 +305,7 @@ struct bstp_port {
uint8_t bp_tc_prop;
uint8_t bp_fdbflush;
uint8_t bp_priority;
- uint8_t bp_p2p_link;
+ uint8_t bp_ptp_link;
uint8_t bp_agree;
uint8_t bp_agreed;
uint8_t bp_sync;
@@ -384,8 +384,8 @@ int bstp_set_port_priority(struct bstp_port *, int);
int bstp_set_path_cost(struct bstp_port *, uint32_t);
int bstp_set_edge(struct bstp_port *, int);
int bstp_set_autoedge(struct bstp_port *, int);
-int bstp_set_p2p(struct bstp_port *, int);
-int bstp_set_autop2p(struct bstp_port *, int);
+int bstp_set_ptp(struct bstp_port *, int);
+int bstp_set_autoptp(struct bstp_port *, int);
struct mbuf *bstp_input(struct bstp_port *, struct ifnet *, struct mbuf *);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud