diff options
Diffstat (limited to 'include/linux/if_phonet.h')
-rw-r--r-- | include/linux/if_phonet.h | 11 |
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__ |
17 | extern struct header_ops phonet_header_ops; | 16 | extern struct header_ops phonet_header_ops; |
18 | #endif | 17 | #endif |
18 | |||
19 | #endif | ||