summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-09-16 22:31:31 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-09-16 22:31:31 +0000
commit5143d65d315fdb722683cbbad4324a8a864007e4 (patch)
tree4035b3323459de3749e691081c6081acd27f395f /sys/net/route.h
parentcce6f8bb3aaa193e0d2562fc59e8b2e0f1f58d90 (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.h4
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 { \