diff options
author | Patrick McHardy <kaber@trash.net> | 2014-01-08 13:02:16 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-01-08 13:03:19 +0000 |
commit | 87787ee86ec95a8a5494615268a03a756f48433f (patch) | |
tree | e650af949a46f09b94f404c02bd9e5db8e9dc48d /src/scanner.l | |
parent | 4180fba3821d13f06fde2d662d7000e99d140693 (diff) |
meta: add l4proto support
Add support for the meta l4proto type. This is used in the inet table to
match on the transport layer protocol without requiring the network layer
protocol to be known, allowing to use transport header matches that apply
to both IPv4 and IPv6.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 9541eb05..0b8abacb 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -372,6 +372,7 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr}) "meta" { return META; } "nfproto" { return NFPROTO; } +"l4proto" { return L4PROTO; } "mark" { return MARK; } "iif" { return IIF; } "iifname" { return IIFNAME; } |