diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2008-05-07 07:16:50 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2008-05-07 07:16:50 +0000 |
commit | 4e255224e7d72d76566db678565a58232ef4a98e (patch) | |
tree | b957a51bd12bfceb051fa6291f74202139302706 /sys/netmpls | |
parent | de00169788d17d1afbb465a8138926ecfd201cac (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.h | 5 |
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 *); |