aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_phonet.h
diff options
context:
space:
mode:
authorRemi Denis-Courmont <remi.denis-courmont@nokia.com>2008-09-22 22:51:15 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-22 22:51:15 -0400
commitbce7b15426cac3000bf6a9cf59d9356ef0be2dec (patch)
treeddee913be01db33130fa4a02a27c7a82c5d6ab26 /include/linux/if_phonet.h
parent5c1824587f0797373c95719a196f6098f7c6d20c (diff)
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 @@
1/*
2 * File: if_phonet.h
3 *
4 * Phonet interface kernel definitions
5 *
6 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
7 */
8
9#define PHONET_HEADER_LEN 8 /* Phonet header length */
10
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