nl-pktloc-lookup(8) | System Manager's Manual | nl-pktloc-lookup(8) |
nl-pktloc-lookup - Lookup packet location definitions
nl-pktloc-lookup name
nl-pktloc-lookup --list
nl-pktloc-lookup searches the packet location database for a matching entry. It is used to resolve packet location aliases to their definition, i.e. alignment, layer, offset, and mask.
Please note that due to the limitation of u32, it is not possible to use packet locations based on the link layer. nl-pktloc-lookup will print an error message in this case.
Example:
selector=$(nl-pktloc-lookup --u32 22 tcp.sport)
tc filter add [...] u32 match $(selector) flowid 1:2
/etc/libnl/pktloc
Thomas Graf is the original author and current maintainer of libnl and libnl tools. Many people have contributed to it since.
27 October 2010 | libnl |