summaryrefslogtreecommitdiff
path: root/sys/netmpls
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-05-07 07:16:50 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2008-05-07 07:16:50 +0000
commit4e255224e7d72d76566db678565a58232ef4a98e (patch)
treeb957a51bd12bfceb051fa6291f74202139302706 /sys/netmpls
parentde00169788d17d1afbb465a8138926ecfd201cac (diff)
Make mpe a point-to-point interface.
Make the mtu user definable. ok claudio@
Diffstat (limited to 'sys/netmpls')
-rw-r--r--sys/netmpls/mpls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netmpls/mpls.h b/sys/netmpls/mpls.h
index 0025cd6d462..e65ecd470e0 100644
--- a/sys/netmpls/mpls.h
+++ b/sys/netmpls/mpls.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls.h,v 1.6 2008/05/07 06:53:42 pyr Exp $ */
+/* $OpenBSD: mpls.h,v 1.7 2008/05/07 07:16:49 pyr Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -148,6 +148,9 @@ struct mpe_softc {
};
#define MPE_HDRLEN sizeof(struct shim_hdr)
+#define MPE_MTU 1500
+#define MPE_MTU_MIN 256
+#define MPE_MTU_MAX 8192
extern int mpls_raw_usrreq(struct socket *, int, struct mbuf *,
struct mbuf *, struct mbuf *);