You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
HashSwitch Element Documentation
NAME
HashSwitch — Click element;
classifies packets by hash of contents
SYNOPSIS
HashSwitch(OFFSET, LENGTH)
Batching: Batching natively supported Ports: 1 input, 1 or more outputs Processing: push
DESCRIPTION
Can have any number of outputs.
Chooses the output on which to emit each packet based on
a hash of the LENGTH bytes starting at OFFSET.
Could be used for stochastic fair queuing.
EXAMPLES
This element expects IP packets and chooses the output
based on a hash of the IP destination address: