aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hdlc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hdlc.h')
-rw-r--r--include/linux/hdlc.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/linux/hdlc.h b/include/linux/hdlc.h
index ee275c8b3df1..1acb1445e05f 100644
--- a/include/linux/hdlc.h
+++ b/include/linux/hdlc.h
@@ -7,24 +7,14 @@
7 * under the terms of version 2 of the GNU General Public License 7 * under the terms of version 2 of the GNU General Public License
8 * as published by the Free Software Foundation. 8 * as published by the Free Software Foundation.
9 */ 9 */
10
11#ifndef __HDLC_H 10#ifndef __HDLC_H
12#define __HDLC_H 11#define __HDLC_H
13 12
14 13
15#define HDLC_MAX_MTU 1500 /* Ethernet 1500 bytes */
16#if 0
17#define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */
18#else
19#define HDLC_MAX_MRU 1600 /* as required for FR network */
20#endif
21
22
23#ifdef __KERNEL__
24
25#include <linux/skbuff.h> 14#include <linux/skbuff.h>
26#include <linux/netdevice.h> 15#include <linux/netdevice.h>
27#include <linux/hdlc/ioctl.h> 16#include <linux/hdlc/ioctl.h>
17#include <uapi/linux/hdlc.h>
28 18
29/* This structure is a private property of HDLC protocols. 19/* This structure is a private property of HDLC protocols.
30 Hardware drivers have no interest here */ 20 Hardware drivers have no interest here */
@@ -127,5 +117,4 @@ static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb,
127 return htons(ETH_P_HDLC); 117 return htons(ETH_P_HDLC);
128} 118}
129 119
130#endif /* __KERNEL */
131#endif /* __HDLC_H */ 120#endif /* __HDLC_H */