summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-02-05 04:31:56 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-28 05:07:51 +0200
commita830942228110cbec0e857d0877d624206627f81 (patch)
tree6823772eab9415dadaeb0722cd8c1114197fa8a1 /zebra/kernel_socket.h
parentfd36be7e15ee49d12500a5ec4d9597d1597715a7 (diff)
zebra: cleanup blackhole support
blackhole support was horribly broken. cleanup by removing blackhole stuff from ZEBRA_FLAG_* introduces support for "prohibit" routes (Linux/netlink only) also clean up blackhole options on "ip route" vty commands. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/kernel_socket.h')
-rw-r--r--zebra/kernel_socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/kernel_socket.h b/zebra/kernel_socket.h
index 41b322185f..096a21f782 100644
--- a/zebra/kernel_socket.h
+++ b/zebra/kernel_socket.h
@@ -34,8 +34,8 @@ extern void rtm_read(struct rt_msghdr *);
extern int ifam_read(struct ifa_msghdr *);
extern int ifm_read(struct if_msghdr *);
extern int rtm_write(int, union sockunion *, union sockunion *,
- union sockunion *, union sockunion *, unsigned int, int,
- int);
+ union sockunion *, union sockunion *, unsigned int,
+ enum blackhole_type, int);
extern const struct message rtm_type_str[];
#endif /* __ZEBRA_KERNEL_SOCKET_H */