Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

FilterByRange Element Documentation

NAME

FilterByRange — Click element;

SYNOPSIS

FilterByRange(RANGE, LOCINFO)

Ports: 1 input, 2 outputs
Processing: push
Drivers: userlevel

DESCRIPTION

Expects Grid MAC layer packets on input 0. Any packet transmitted by a Grid node within RANGE metres from this node is sent to output 0. Packets transmitted by ``out of range'' nodes are sent out output 1. RANGE is an Integer. A negative range means no packets are filtered out. This element is useful for simulating physical topologies. This element uses the GridLocationInfo element named LOCINFO.

SEE ALSO

GridLocationInfo FilterByGridHops

Generated by click-elem2man from ../elements/grid/filterbyrange.hh:7 on 2018/10/03.

Clone this wiki locally