summaryrefslogtreecommitdiff
path: root/include/linux/if_phonet.h
diff options
context:
space:
mode:
authorRemi Denis-Courmont <remi.denis-courmont@nokia.com>2008-09-22 19:51:15 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-22 19:51:15 -0700
commitbce7b15426cac3000bf6a9cf59d9356ef0be2dec (patch)
treeddee913be01db33130fa4a02a27c7a82c5d6ab26 /include/linux/if_phonet.h
parent5c1824587f0797373c95719a196f6098f7c6d20c (diff)
downloadlwn-bce7b15426cac3000bf6a9cf59d9356ef0be2dec.tar.gz
lwn-bce7b15426cac3000bf6a9cf59d9356ef0be2dec.zip
Phonet: global definitions
Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_phonet.h')
-rw-r--r--include/linux/if_phonet.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/if_phonet.h b/include/linux/if_phonet.h
new file mode 100644
index 000000000000..22df25fbc4e2
--- /dev/null
+++ b/include/linux/if_phonet.h
@@ -0,0 +1,14 @@
+/*
+ * File: if_phonet.h
+ *
+ * Phonet interface kernel definitions
+ *
+ * Copyright (C) 2008 Nokia Corporation. All rights reserved.
+ */
+
+#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_DEV_MTU PHONET_MAX_MTU