diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bpfdesc.h | 3 | ||||
-rw-r--r-- | sys/net/if_var.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h index 73dcc90..02c79eb 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 52cee55..c77498f 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; |