From 87787ee86ec95a8a5494615268a03a756f48433f Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Wed, 8 Jan 2014 13:02:16 +0000 Subject: 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 --- src/scanner.l | 1 + 1 file changed, 1 insertion(+) (limited to 'src/scanner.l') 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; } -- cgit v1.2.3