mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Prevent namespace pollution in use-land by putting everything used only in
kernel (softc and such) under #ifdef _KERNEL. Submitted by: bde
This commit is contained in:
parent
d4f82fcf34
commit
ccd6d236b8
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#define _NET_IF_GRE_H
|
||||
|
||||
#include <sys/ioccom.h>
|
||||
#ifdef _KERNEL
|
||||
#include <sys/queue.h>
|
||||
|
||||
struct gre_softc {
|
||||
|
|
@ -141,6 +142,8 @@ struct mobip_h {
|
|||
|
||||
#define GRE_TTL 30
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/*
|
||||
* ioctls needed to manipulate the interface
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue