summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-08 16:33:23 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-08 18:14:10 +0200
commite0f03632749b61d32cd21c7a1272925bb78c7cf7 (patch)
tree5cc1e068b1a5b388be6b9142862b59be42043357 /nest
parent3c838ad9fdc553c658ee2fbb466ab8ab4cd14805 (diff)
WIP: firewallavc-firewall
Diffstat (limited to 'nest')
-rw-r--r--nest/proto.c3
-rw-r--r--nest/protocol.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 85090424..5589732b 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -1496,6 +1496,9 @@ protos_build(void)
#ifdef CONFIG_PERF
proto_build(&proto_perf);
#endif
+#ifdef CONFIG_FIREWALL
+ proto_build(&proto_firewall);
+#endif
proto_pool = rp_new(&root_pool, "Protocols");
proto_shutdown_timer = tm_new(proto_pool);
diff --git a/nest/protocol.h b/nest/protocol.h
index e97e59dd..57a8332d 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -53,6 +53,7 @@ enum protocol_class {
PROTOCOL_RIP,
PROTOCOL_RPKI,
PROTOCOL_STATIC,
+ PROTOCOL_WIREWALL,
PROTOCOL__MAX
};
@@ -103,7 +104,7 @@ void protos_dump_all(void);
extern struct protocol
proto_device, proto_radv, proto_rip, proto_static, proto_mrt,
proto_ospf, proto_perf,
- proto_pipe, proto_bgp, proto_bfd, proto_babel, proto_rpki;
+ proto_pipe, proto_bgp, proto_bfd, proto_babel, proto_rpki, proto_firewall;
/*
* Routing Protocol Instance