aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-11-12 03:14:31 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-11-12 03:14:31 +0000
commiteca8a663d442468f64e21ed869817b9048ab5a7b (patch)
treea3d104511a2cb91c797ff9c5bcc6f9c70abc63ce /sys/net
parent5c957adbf1741a33bb35cf087f7ee81de42e6ac2 (diff)
Notes
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpfdesc.h3
-rw-r--r--sys/net/if_var.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index 73dcc90bb15af..02c79ebf4c923 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -43,7 +43,6 @@
#ifndef _NET_BPFDESC_H_
#define _NET_BPFDESC_H_
-#include <sys/_label.h>
#include <sys/callout.h>
#include <sys/selinfo.h>
@@ -93,7 +92,7 @@ struct bpf_d {
#endif
struct mtx bd_mtx; /* mutex for this descriptor */
struct callout bd_callout; /* for BPF timeouts with select */
- struct label bd_label; /* MAC label for descriptor */
+ struct label *bd_label; /* MAC label for descriptor */
};
/* Values for bd_state */
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 52cee5573b477..c77498f7366a1 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -74,7 +74,6 @@ struct socket;
struct ether_header;
#endif
-#include <sys/_label.h> /* struct label */
#include <sys/queue.h> /* get TAILQ macros */
#ifdef _KERNEL
@@ -180,7 +179,7 @@ struct ifnet {
struct ifqueue *if_poll_slowq; /* input queue for slow devices */
struct ifprefixhead if_prefixhead; /* list of prefixes per if */
u_int8_t *if_broadcastaddr; /* linklevel broadcast bytestring */
- struct label if_label; /* interface MAC label */
+ struct label *if_label; /* interface MAC label */
void *if_afdata[AF_MAX];
int if_afdata_initialized;