Rough draft of fq-codel implementation

This commit is contained in:
Joseph Henry 2018-07-10 16:50:12 -07:00
parent bdcdccfcc3
commit 28cb40529d
7 changed files with 419 additions and 15 deletions

View file

@ -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
@ -297,6 +298,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
*