diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-09-16 22:31:31 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-09-16 22:31:31 +0000 |
commit | 5143d65d315fdb722683cbbad4324a8a864007e4 (patch) | |
tree | 4035b3323459de3749e691081c6081acd27f395f /sys/net/route.h | |
parent | cce6f8bb3aaa193e0d2562fc59e8b2e0f1f58d90 (diff) |
handle route labels on RTM_CHANGE, ok mcbride, prodded my markus some time ago
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 59492260a12..79604cf3396 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.25 2004/09/16 00:21:11 henning Exp $ */ +/* $OpenBSD: route.h,v 1.26 2004/09/16 22:31:30 henning Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -295,6 +295,8 @@ struct sockaddr_rtlabel { }; const char *rtlabel_id2name(u_int16_t); +u_int16_t rtlabel_name2id(char *); +void rtlabel_unref(u_int16_t); #ifdef _KERNEL #define RTFREE(rt) do { \ |