summaryrefslogtreecommitdiff
path: root/sysdep/bsd/krt-sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/bsd/krt-sys.h')
-rw-r--r--sysdep/bsd/krt-sys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/bsd/krt-sys.h b/sysdep/bsd/krt-sys.h
index 57501884..198373c0 100644
--- a/sysdep/bsd/krt-sys.h
+++ b/sysdep/bsd/krt-sys.h
@@ -32,9 +32,11 @@ static inline void kif_sys_copy_config(struct kif_config *d UNUSED, struct kif_c
/* Kernel routes */
extern uint krt_max_tables;
+extern const uint krt_max_metric;
struct krt_params {
int table_id; /* Kernel table ID we sync with */
+ u32 metric; /* Kernel metric used for all routes */
};
struct krt_state {