diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-05-29 13:32:24 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-05-29 13:32:24 +0200 |
commit | 6f68f066b63e992321ec1873a15c233f567b9aca (patch) | |
tree | e4adf6edcc622368c49ad0969442c3e5d7785f68 /sysdep/unix/krt.h | |
parent | 7c3d06b087946cbea4affa4a814e72b7a3556833 (diff) |
Add 'primary' configuration option.
Diffstat (limited to 'sysdep/unix/krt.h')
-rw-r--r-- | sysdep/unix/krt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h index 10da1a8f..607e6993 100644 --- a/sysdep/unix/krt.h +++ b/sysdep/unix/krt.h @@ -86,10 +86,18 @@ void krt_got_route_async(struct krt_proto *p, struct rte *e, int new); extern struct protocol proto_unix_iface; +struct kif_primary_item { + node n; + byte *pattern; + ip_addr prefix; + int pxlen; +}; + struct kif_config { struct proto_config c; struct krt_if_params iface; int scan_time; /* How often we re-scan interfaces */ + list primary; /* Preferences for primary addresses */ }; struct kif_proto { |