diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-26 22:44:38 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-26 22:44:38 +0100 |
commit | 7e5f5ffdda7232048c4baf3fdec358afb494a29d (patch) | |
tree | 0cbc52ac45785f16175d04039a27aa133b4b2cf2 /sysdep/linux/netlink | |
parent | 739ebd8e82b090ed91b3ebe77509ecd6784eca9a (diff) | |
download | bird-7e5f5ffdda7232048c4baf3fdec358afb494a29d.tar bird-7e5f5ffdda7232048c4baf3fdec358afb494a29d.zip |
Moved to a much more systematic way of configuring kernel protocols.
o Nothing is configured automatically. You _need_ to specify
the kernel syncer in config file in order to get it started.
o Syncing has been split to route syncer (protocol "Kernel") and
interface syncer (protocol "Device"), device routes are generated
by protocol "Direct" (now can exist in multiple instances, so that
it will be possible to feed different device routes to different
routing tables once multiple tables get supported).
See doc/bird.conf.example for a living example of these shiny features.
Diffstat (limited to 'sysdep/linux/netlink')
-rw-r--r-- | sysdep/linux/netlink/krt-iface.h | 7 | ||||
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sysdep/linux/netlink/krt-iface.h b/sysdep/linux/netlink/krt-iface.h index 5dfb934..53167c8 100644 --- a/sysdep/linux/netlink/krt-iface.h +++ b/sysdep/linux/netlink/krt-iface.h @@ -19,8 +19,9 @@ struct krt_if_params { struct krt_if_status { }; -static inline void krt_if_preconfig(struct krt_config *c) { }; -static inline void krt_if_start(struct krt_proto *p) { }; -static inline void krt_if_shutdown(struct krt_proto *p) { }; +static inline void krt_if_preconfig(struct kif_config *c) { }; +static inline void krt_if_start(struct kif_proto *p) { }; +static inline void krt_if_shutdown(struct kif_proto *p) { }; +static inline void krt_if_io_init(void) { }; #endif diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index 93eb4ad..57e1899 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -392,7 +392,7 @@ nl_parse_addr(struct nlmsghdr *h) } void -krt_if_scan(struct krt_proto *p) +krt_if_scan(struct kif_proto *p) { struct nlmsghdr *h; |