Unix and Linux Discussions Tagged with lookup |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
6,417 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,003 |
Shell Programming and Scripting |
|
|
|
1 |
3,836 |
Shell Programming and Scripting |
|
|
|
0 |
2,835 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,958 |
Shell Programming and Scripting |
|
|
|
8 |
2,208 |
Shell Programming and Scripting |
|
|
|
3 |
83,005 |
IP Networking |
|
|
|
3 |
2,536 |
Shell Programming and Scripting |
|
|
|
2 |
3,264 |
Shell Programming and Scripting |
|
|
|
3 |
1,868 |
Shell Programming and Scripting |
|
|
|
0 |
756 |
Software Releases - RSS News |
|
|
|
0 |
637 |
Software Releases - RSS News |
|
|
|
0 |
729 |
Software Releases - RSS News |
|
|
|
1 |
3,214 |
Shell Programming and Scripting |
|
|
|
4 |
2,024 |
Shell Programming and Scripting |
|
|
|
3 |
10,288 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,636 |
Shell Programming and Scripting |
|
|
|
1 |
1,958 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
1,817 |
Shell Programming and Scripting |
|
|
|
5 |
3,265 |
Shell Programming and Scripting |
|
|
|
3 |
33,976 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
20,030 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,825 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,665 |
UNIX for Dummies Questions & Answers |
nl-pktloc-lookup(8) System Manager's Manual nl-pktloc-lookup(8)
NAME
nl-pktloc-lookup - Lookup packet location definitions
SYNOPSIS
nl-pktloc-lookup name
nl-pktloc-lookup --list
DESCRIPTION
nl-pktloc-lookup searches the packet location database for a matching entry. It is used to resolve packet location aliases to their defini-
tion, i.e. alignment, layer, offset, and mask.
OPTIONS
-h or --help
Print help text to console and exit.
-v or --version
Print versioning information to console and exit.
-l or --list
List all packet location definitions.
--u32=VALUE
Prints the packet location definition in a special format that is understood by iproute2's u32 selector parser. It will output a u32
selector which will compare the provided value with the value specified by the packet location.
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
FILES
/etc/libnl/pktloc
AUTHOR
Thomas Graf is the original author and current maintainer of libnl and libnl tools. Many people have contributed to it since.
libnl 27 October 2010 nl-pktloc-lookup(8)