forked from Minki/linux
376b7bd355
The struct as currently defined uses host byte order for some fields, and most big endian/EUI display byte order for other fields. Inside the stack, endianness should ideally match network byte order where possible to minimize the number of byteswaps done in critical paths, but this patch does not address this; it is only preparatory. Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/*
|
|
* Internal interfaces for ieee 802.15.4 address family.
|
|
*
|
|
* Copyright 2007, 2008, 2009 Siemens AG
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*
|
|
* Written by:
|
|
* Sergey Lapin <slapin@ossfans.org>
|
|
* Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
|
|
*/
|
|
|
|
#ifndef AF802154_H
|
|
#define AF802154_H
|
|
|
|
struct sk_buff;
|
|
struct net_devce;
|
|
extern struct proto ieee802154_raw_prot;
|
|
extern struct proto ieee802154_dgram_prot;
|
|
void ieee802154_raw_deliver(struct net_device *dev, struct sk_buff *skb);
|
|
int ieee802154_dgram_deliver(struct net_device *dev, struct sk_buff *skb);
|
|
struct net_device *ieee802154_get_dev(struct net *net,
|
|
struct ieee802154_addr_sa *addr);
|
|
|
|
#endif
|