summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-12-25 19:19:18 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-12-25 22:06:17 +0100
commit5ae62260db2f55b51daeef59a8c197d020e89252 (patch)
tree09e16a7f62edca93035194e0bd4939ec47c6c256 /include
parent76d672ca7c8518b92f67abb2393fbe228f2e2800 (diff)
src: add new netdev protocol description
This relies on NFT_META_PROTOCOL instead of ethernet protocol type header field to prepare support for non-ethernet protocols in the future. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index d90bccd0..c252a67d 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -308,6 +308,8 @@ extern const struct proto_desc proto_arp;
extern const struct proto_desc proto_vlan;
extern const struct proto_desc proto_eth;
+extern const struct proto_desc proto_netdev;
+
extern const struct proto_desc proto_unknown;
extern const struct proto_hdr_template proto_unknown_template;