git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sh: convert /proc/cpu/aligmnent, /proc/cpu/kernel_alignment to seq_file
[safe/jmp/linux-2.6]
/
include
/
linux
/
if_phonet.h
diff --git
a/include/linux/if_phonet.h
b/include/linux/if_phonet.h
index
7e98921
..
d70034b
100644
(file)
--- a/
include/linux/if_phonet.h
+++ b/
include/linux/if_phonet.h
@@
-5,14
+5,15
@@
*
* Copyright (C) 2008 Nokia Corporation. All rights reserved.
*/
*
* Copyright (C) 2008 Nokia Corporation. All rights reserved.
*/
+#ifndef LINUX_IF_PHONET_H
+#define LINUX_IF_PHONET_H
-#define PHONET_HEADER_LEN 8 /* Phonet header length */
-
-#define PHONET_MIN_MTU 6
-/* 6 bytes header + 65535 bytes payload */
-#define PHONET_MAX_MTU 65541
+#define PHONET_MIN_MTU 6 /* pn_length = 0 */
+#define PHONET_MAX_MTU 65541 /* pn_length = 0xffff */
#define PHONET_DEV_MTU PHONET_MAX_MTU
#ifdef __KERNEL__
extern struct header_ops phonet_header_ops;
#endif
#define PHONET_DEV_MTU PHONET_MAX_MTU
#ifdef __KERNEL__
extern struct header_ops phonet_header_ops;
#endif
+
+#endif