mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Phonet: global definitions
Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5c1824587f
commit
bce7b15426
6 changed files with 153 additions and 4 deletions
14
include/linux/if_phonet.h
Normal file
14
include/linux/if_phonet.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue