X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_phonet.h;h=d70034bcec059800d9d972a6d37096b38cb4809c;hb=1b6bcdbe7eaacde19b5d633b33c8d056e4818de0;hp=22df25fbc4e2fc4b25453a83a21add7d4710518e;hpb=bce7b15426cac3000bf6a9cf59d9356ef0be2dec;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/if_phonet.h b/include/linux/if_phonet.h index 22df25fbc4e..d70034bcec0 100644 --- a/include/linux/if_phonet.h +++ b/include/linux/if_phonet.h @@ -5,10 +5,15 @@ * * 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 + +#endif