summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2018-09-25 10:19:59 -0700
committerGrant Limberg <grant.limberg@zerotier.com>2018-09-25 10:19:59 -0700
commit0510f85a8fe6cba7e6258d534fa49d47f9f8e2a2 (patch)
treeef9bf53e9dd472a1fb343a41a41630bb30097979 /node/Network.hpp
parent5b222d0a09dab1a7e009f728f955a0ef70d569a6 (diff)
parent27c37a18f3e2f97d06ebc04e2db31d0c796c9452 (diff)
downloadinfinitytier-0510f85a8fe6cba7e6258d534fa49d47f9f8e2a2.tar.gz
infinitytier-0510f85a8fe6cba7e6258d534fa49d47f9f8e2a2.zip
Merge branch 'dev' into libpq
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index 95b5483a..2baab511 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -132,7 +132,8 @@ public:
const uint8_t *frameData,
const unsigned int frameLen,
const unsigned int etherType,
- const unsigned int vlanId);
+ const unsigned int vlanId,
+ uint8_t &qosBucket);
/**
* Apply filters to an incoming packet
@@ -298,6 +299,13 @@ public:
void learnBridgeRoute(const MAC &mac,const Address &addr);
/**
+ * Whether QoS is in effect for this network
+ */
+ bool QoSEnabled() {
+ return false;
+ }
+
+ /**
* Learn a multicast group that is bridged to our tap device
*
* @param tPtr Thread pointer to be handed through to any callbacks called as a result of this call
@@ -438,6 +446,6 @@ private:
AtomicCounter __refCount;
};
-} // naemspace ZeroTier
+} // namespace ZeroTier
#endif