summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2013-01-03 07:53:22 +0000
committerjmc <jmc@openbsd.org>2013-01-03 07:53:22 +0000
commit0308a18f08bcd5876e3adb38957489df0636a061 (patch)
tree1dab65e3dd667cd3904bb79c10ddf8d5b5bd5604 /share/man/man9
parentadd a couple of ServerOptions members that should be copied to the privsep (diff)
downloadwireguard-openbsd-0308a18f08bcd5876e3adb38957489df0636a061.tar.xz
wireguard-openbsd-0308a18f08bcd5876e3adb38957489df0636a061.zip
update from Ryan Ozmun;
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/mbuf.941
1 files changed, 24 insertions, 17 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 0971980a2f6..e88abe09876 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.58 2012/11/17 10:55:21 henning Exp $
+.\" $OpenBSD: mbuf.9,v 1.59 2013/01/03 07:53:22 jmc Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 17 2012 $
+.Dd $Mdocdate: January 3 2013 $
.Dt MBUF 9
.Os
.Sh NAME
@@ -110,31 +110,38 @@ struct m_hdr {
};
struct pkthdr {
- struct ifnet *rcvif;
- SLIST_HEAD(packet_tags, m_tag) tags;
- int len;
- u_int16_t csum_flags;
- u_int16_t ether_vtag;
+ struct ifnet *rcvif;
+ SLIST_HEAD(packet_tags, m_tag) tags;
+ int len;
+ u_int16_t tagsset;
+ u_int16_t pad;
+ u_int16_t csum_flags;
+ u_int16_t ether_vtag;
+ u_int rdomain;
struct pkthdr_pf pf;
};
struct pkthdr_pf {
void *hdr;
- u_int rtableid;
+ void *statekey;
u_int32_t qid;
u_int16_t tag;
u_int8_t flags;
u_int8_t routed;
+ u_int8_t prio;
+ u_int8_t pad[3];
};
-struct m_ext {
- caddr_t ext_buf;
- void (*ext_free)(caddr_t, u_int, void *);
- void *ext_arg;
- u_int ext_size;
- int ext_type;
- struct mbuf *ext_nextref;
- struct mbuf *ext_prevref;
+struct mbuf_ext {
+ caddr_t ext_buf;
+ void (*ext_free)(caddr_t, u_int, void *);
+ void *ext_arg;
+ u_int ext_size;
+ int ext_type;
+ struct ifnet* ext_ifp;
+ int ext_backend;
+ struct mbuf *ext_nextref;
+ struct mbuf *ext_prevref;
};
struct mbuf {
@@ -143,7 +150,7 @@ struct mbuf {
struct {
struct pkthdr MH_pkthdr;
union {
- struct m_ext MH_ext;
+ struct mbuf_ext MH_ext;
char MH_databuf[MHLEN];
} MH_dat;
} MH;