summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridgevar.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/if_bridgevar.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/if_bridgevar.h')
-rw-r--r--sys/net/if_bridgevar.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_bridgevar.h b/sys/net/if_bridgevar.h
index 2096eaa..ae33688 100644
--- a/sys/net/if_bridgevar.h
+++ b/sys/net/if_bridgevar.h
@@ -138,15 +138,15 @@ struct ifbreq {
#define IFBIF_STICKY 0x0010 /* if learned addresses stick */
#define IFBIF_BSTP_EDGE 0x0020 /* member stp edge port */
#define IFBIF_BSTP_AUTOEDGE 0x0040 /* member stp autoedge enabled */
-#define IFBIF_BSTP_P2P 0x0080 /* member stp p2p */
-#define IFBIF_BSTP_AUTOP2P 0x0100 /* member stp autop2p enabled */
+#define IFBIF_BSTP_PTP 0x0080 /* member stp point to point */
+#define IFBIF_BSTP_AUTOPTP 0x0100 /* member stp autoptp enabled */
#define IFBIF_BSTP_ADMEDGE 0x0200 /* member stp admin edge enabled */
#define IFBIF_BSTP_ADMCOST 0x0400 /* member stp admin path cost */
#define IFBIFBITS "\020\001LEARNING\002DISCOVER\003STP\004SPAN" \
- "\005STICKY\006EDGE\007AUTOEDGE\010P2P\011AUTOP2P"
-#define IFBIFMASK ~(IFBIF_BSTP_EDGE|IFBIF_BSTP_AUTOEDGE|IFBIF_BSTP_P2P| \
- IFBIF_BSTP_AUTOP2P|IFBIF_BSTP_ADMEDGE| \
+ "\005STICKY\006EDGE\007AUTOEDGE\010PTP\011AUTOPTP"
+#define IFBIFMASK ~(IFBIF_BSTP_EDGE|IFBIF_BSTP_AUTOEDGE|IFBIF_BSTP_PTP| \
+ IFBIF_BSTP_AUTOPTP|IFBIF_BSTP_ADMEDGE| \
IFBIF_BSTP_ADMCOST) /* not saved */
/* BRDGFLUSH */
OpenPOWER on IntegriCloud