summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2005-04-20 19:59:29 +0000
committerreyk <reyk@openbsd.org>2005-04-20 19:59:29 +0000
commitf3f3f2baaaf5c68c2a45331db3349a40e4c5e265 (patch)
tree8b5dc4d3cbbf3f754aabda598cf18365930268a4
parentsend raw 802.11 frames with bpf(4) using the IEEE802_11 or (diff)
downloadwireguard-openbsd-f3f3f2baaaf5c68c2a45331db3349a40e4c5e265.tar.xz
wireguard-openbsd-f3f3f2baaaf5c68c2a45331db3349a40e4c5e265.zip
add mbuf tag for the data link type
ok canacar@ damien@
-rw-r--r--sys/sys/mbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index d32c67d6b72..96ae046fed9 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.79 2005/01/18 23:26:51 mpf Exp $ */
+/* $OpenBSD: mbuf.h,v 1.80 2005/04/20 19:59:29 reyk Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -595,6 +595,7 @@ struct m_tag *m_tag_next(struct mbuf *, struct m_tag *);
#define PACKET_TAG_PF_QID 14 /* PF queue id */
#define PACKET_TAG_PF_TAG 15 /* PF tags */
#define PACKET_TAG_PF_TRANSLATE_LOCALHOST 16 /* translated to localhost */
+#define PACKET_TAG_DLT 17 /* data link layer type */
#ifdef MBTYPES
int mbtypes[] = { /* XXX */