summaryrefslogtreecommitdiff
path: root/sysdep/bsd/krt-sys.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-01-18 12:33:06 +0100
committerMaria Matejka <mq@ucw.cz>2023-01-18 12:33:06 +0100
commit6bb992cb04926895be57dc97e7d569ea15a07db1 (patch)
tree12f90320f7aac28711d308c76db1e51f4d4aa58b /sysdep/bsd/krt-sys.h
parent973aa37e1e28a9c508fe09c008196f64cd3966fd (diff)
parent7144c9ca46f092da33a4e051bbce8f973a3bd8c4 (diff)
Merge branch 'master' of https://gitlab.nic.cz/labs/bird
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 {