diff options
Diffstat (limited to 'zebra/zebra_ns.h')
| -rw-r--r-- | zebra/zebra_ns.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h index dc79a83db0..fa2fd47c25 100644 --- a/zebra/zebra_ns.h +++ b/zebra/zebra_ns.h @@ -72,6 +72,14 @@ int zebra_ns_final_shutdown(struct ns *ns);  int zebra_ns_config_write(struct vty *vty, struct ns *ns); +#define ZNS_WALK_CONTINUE 0 +#define ZNS_WALK_STOP 1 +void zebra_ns_list_walk(int (*exec_for_each_zns)(struct zebra_ns *zns, +						 void *param_in, +						 void **param_out), +			void *param_in, +			void **param_out); +  #ifdef __cplusplus  }  #endif  | 
