aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRemi Denis-Courmont <remi.denis-courmont@nokia.com>2008-10-01 04:30:19 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-01 04:30:19 -0400
commit6e50e8a2136f1a90de251c653226ded447c5c915 (patch)
tree48d2f9cd9a17105d1e462607c8df3551bc639329 /include
parenta57334e95e4fb132acca05bdc0efa2f9dda194af (diff)
phonet: Protect if_phonet.h against multiple inclusions.
From: Remi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_phonet.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/if_phonet.h b/include/linux/if_phonet.h
index 7e989216ec17..d70034bcec05 100644
--- a/include/linux/if_phonet.h
+++ b/include/linux/if_phonet.h
@@ -5,14 +5,15 @@
5 * 5 *
6 * Copyright (C) 2008 Nokia Corporation. All rights reserved. 6 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
7 */ 7 */
8#ifndef LINUX_IF_PHONET_H
9#define LINUX_IF_PHONET_H
8 10
9#define PHONET_HEADER_LEN 8 /* Phonet header length */ 11#define PHONET_MIN_MTU 6 /* pn_length = 0 */
10 12#define PHONET_MAX_MTU 65541 /* pn_length = 0xffff */
11#define PHONET_MIN_MTU 6
12/* 6 bytes header + 65535 bytes payload */
13#define PHONET_MAX_MTU 65541
14#define PHONET_DEV_MTU PHONET_MAX_MTU 13#define PHONET_DEV_MTU PHONET_MAX_MTU
15 14
16#ifdef __KERNEL__ 15#ifdef __KERNEL__
17extern struct header_ops phonet_header_ops; 16extern struct header_ops phonet_header_ops;
18#endif 17#endif
18
19#endif