summaryrefslogtreecommitdiff
path: root/sys/netmpls
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-05-07 06:53:43 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-05-07 06:53:43 +0000
commit2057b495386ca1b4ff0fd1a4580e6f181d670106 (patch)
tree881c6cea4754349c3610f7b8d78d28f68ca1016e /sys/netmpls
parent91be854012875d9438d7cdfbad9aad207ebd8727 (diff)
Correctly initialize labels by byte-swapping and inserting BoS and TTL.
While there bump MTU to 1500 and set the receiving interface before calling mpls_input. mpestart will eventually call mpls_output when it exists. ``yaaaaayyy'' and ok claudio@ and norby@
Diffstat (limited to 'sys/netmpls')
-rw-r--r--sys/netmpls/mpls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netmpls/mpls.h b/sys/netmpls/mpls.h
index 98a52763021..0025cd6d462 100644
--- a/sys/netmpls/mpls.h
+++ b/sys/netmpls/mpls.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls.h,v 1.5 2008/05/06 13:33:50 pyr Exp $ */
+/* $OpenBSD: mpls.h,v 1.6 2008/05/07 06:53:42 pyr Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -155,6 +155,7 @@ extern int mpls_raw_usrreq(struct socket *, int, struct mbuf *,
extern struct ifqueue mplsintrq; /* MPLS input queue */
extern int mplsqmaxlen; /* MPLS input queue length */
extern int mpls_enable;
+extern int mpls_defttl;
void mpls_init(void);
void mplsintr(void);