diff options
author | 2008-04-23 12:28:49 +0000 | |
---|---|---|
committer | 2008-04-23 12:28:49 +0000 | |
commit | 82928531923fa39a881a699143b4ff55f81d54b7 (patch) | |
tree | 31405d5ea5aac3297c3e3773ae7520091709765b | |
parent | not needed any more... (diff) | |
download | wireguard-openbsd-82928531923fa39a881a699143b4ff55f81d54b7.tar.xz wireguard-openbsd-82928531923fa39a881a699143b4ff55f81d54b7.zip |
add missing prototypes
-rw-r--r-- | sys/netmpls/mpls.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/netmpls/mpls.h b/sys/netmpls/mpls.h index 703d85d9ebf..f23e2a85220 100644 --- a/sys/netmpls/mpls.h +++ b/sys/netmpls/mpls.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpls.h,v 1.2 2008/04/23 11:22:23 norby Exp $ */ +/* $OpenBSD: mpls.h,v 1.3 2008/04/23 12:28:49 norby Exp $ */ /* * Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project. @@ -135,3 +135,21 @@ struct sockaddr_mpls { } #endif + +#ifdef _KERNEL +extern int mpls_raw_usrreq(struct socket *, int, struct mbuf *, + struct mbuf *, struct mbuf *); + +extern struct ifqueue mplsintrq; /* MPLS input queue */ +extern int mplsqmaxlen; /* MPLS input queue length */ + +void mpls_init(void); +void mplsintr(void); + +struct mbuf *mpls_shim_pop(struct mbuf *); +struct mbuf *mpls_shim_swap(struct mbuf *, struct sockaddr_mpls *); +struct mbuf *mpls_shim_push(struct mbuf *, struct sockaddr_mpls *); + +int mpls_sysctl(int *, u_int, void *, size_t *, void *, size_t); + +#endif /* _KERNEL */ |