From 5143d65d315fdb722683cbbad4324a8a864007e4 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 16 Sep 2004 22:31:31 +0000 Subject: handle route labels on RTM_CHANGE, ok mcbride, prodded my markus some time ago --- sys/net/route.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net/route.h') 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 { \ -- cgit v1.2.3