Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e50e8a2 authored by Remi Denis-Courmont's avatar Remi Denis-Courmont Committed by David S. Miller
Browse files

phonet: Protect if_phonet.h against multiple inclusions.



From: Remi Denis-Courmont <remi.denis-courmont@nokia.com>

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a57334e9
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -5,14 +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