diff options
author | Remi Denis-Courmont <remi.denis-courmont@nokia.com> | 2008-09-22 19:51:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-22 19:51:15 -0700 |
commit | bce7b15426cac3000bf6a9cf59d9356ef0be2dec (patch) | |
tree | ddee913be01db33130fa4a02a27c7a82c5d6ab26 /include/linux/if_phonet.h | |
parent | 5c1824587f0797373c95719a196f6098f7c6d20c (diff) | |
download | op-kernel-dev-bce7b15426cac3000bf6a9cf59d9356ef0be2dec.zip op-kernel-dev-bce7b15426cac3000bf6a9cf59d9356ef0be2dec.tar.gz |
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.h | 14 |
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 0000000..22df25f --- /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 |