network: prepare for network latency tests
This commit adds the Kconfig mechanism and the pfilter rules.
The latency test socket transmists frames of a specific ether type;
the receiver must receive all such frames. To minimize the load on the
packet filter, this adds a single rule: we already accept all PTPv2
frames, so we now "OR" to this the new ethernet type. If the feature
is configured off, the rule uses the same PTPv2 ethertye, thus
turning in practice into a NOP.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment