Remi Denis-Courmont | bce7b15 | 2008-09-22 19:51:15 -0700 | [diff] [blame] | 1 | /* |
| 2 | * File: if_phonet.h |
| 3 | * |
| 4 | * Phonet interface kernel definitions |
| 5 | * |
| 6 | * Copyright (C) 2008 Nokia Corporation. All rights reserved. |
| 7 | */ |
Remi Denis-Courmont | 6e50e8a | 2008-10-01 01:30:19 -0700 | [diff] [blame] | 8 | #ifndef LINUX_IF_PHONET_H |
| 9 | #define LINUX_IF_PHONET_H |
Remi Denis-Courmont | bce7b15 | 2008-09-22 19:51:15 -0700 | [diff] [blame] | 10 | |
Remi Denis-Courmont | 6e50e8a | 2008-10-01 01:30:19 -0700 | [diff] [blame] | 11 | #define PHONET_MIN_MTU 6 /* pn_length = 0 */ |
| 12 | #define PHONET_MAX_MTU 65541 /* pn_length = 0xffff */ |
Remi Denis-Courmont | bce7b15 | 2008-09-22 19:51:15 -0700 | [diff] [blame] | 13 | #define PHONET_DEV_MTU PHONET_MAX_MTU |
Remi Denis-Courmont | 5f77076 | 2008-09-22 20:08:04 -0700 | [diff] [blame] | 14 | |
| 15 | #ifdef __KERNEL__ |
| 16 | extern struct header_ops phonet_header_ops; |
| 17 | #endif |
Remi Denis-Courmont | 6e50e8a | 2008-10-01 01:30:19 -0700 | [diff] [blame] | 18 | |
| 19 | #endif |