#include <lib/ns.h>
#include <lib/vrf.h>
+#include "zebra/rib.h"
+#include "zebra/zebra_vrf.h"
+
#ifdef HAVE_NETLINK
/* Socket interface to kernel */
struct nlsock {
uint32_t tableid;
afi_t afi;
+ ns_id_t ns_id;
struct route_table *table;
};
struct hash *rules_hash;
+ struct hash *ipset_hash;
+
+ struct hash *ipset_entry_hash;
+
+ struct hash *iptable_hash;
+
/* Back pointer */
struct ns *ns;
};
struct zebra_vrf *zvrf,
uint32_t tableid, afi_t afi);
int zebra_ns_config_write(struct vty *vty, struct ns *ns);
+
+unsigned long zebra_ns_score_proto(uint8_t proto, unsigned short instance);
+void zebra_ns_sweep_route(void);
#endif