Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumphijack support PF_OROUTE and PF_MPLS where available



details:   https://anonhg.NetBSD.org/src/rev/225ac24c676d
branches:  trunk
changeset: 762324:225ac24c676d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Feb 19 13:07:53 2011 +0000

description:
support PF_OROUTE and PF_MPLS where available

diffstat:

 lib/librumphijack/hijack.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 1b6fca48c0c1 -r 225ac24c676d lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Sat Feb 19 10:54:31 2011 +0000
+++ b/lib/librumphijack/hijack.c        Sat Feb 19 13:07:53 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.54 2011/02/18 19:27:06 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.55 2011/02/19 13:07:53 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.54 2011/02/18 19:27:06 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.55 2011/02/19 13:07:53 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -325,8 +325,14 @@
        { PF_LOCAL, "local" },
        { PF_INET, "inet" },
        { PF_LINK, "link" },
+#ifdef PF_OROUTE
+       { PF_OROUTE, "oroute" },                                 
+#endif          
        { PF_ROUTE, "route" },
        { PF_INET6, "inet6" },
+#ifdef PF_MPLS 
+       { PF_MPLS, "mpls" },
+#endif
        { -1, NULL }
 };
 



Home | Main Index | Thread Index | Old Index