Merge tag 'locks-v3.16-2' of git://git.samba.org/jlayton/linux
[linux/fpc-iii.git] / net / ieee802154 / af802154.h
blob8330a09bfc95e6877351029cff36b542af11c66f
1 /*
2 * Internal interfaces for ieee 802.15.4 address family.
4 * Copyright 2007, 2008, 2009 Siemens AG
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2
8 * as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 * Written by:
20 * Sergey Lapin <slapin@ossfans.org>
21 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
24 #ifndef AF802154_H
25 #define AF802154_H
27 struct sk_buff;
28 struct net_device;
29 struct ieee802154_addr;
30 extern struct proto ieee802154_raw_prot;
31 extern struct proto ieee802154_dgram_prot;
32 void ieee802154_raw_deliver(struct net_device *dev, struct sk_buff *skb);
33 int ieee802154_dgram_deliver(struct net_device *dev, struct sk_buff *skb);
34 struct net_device *ieee802154_get_dev(struct net *net,
35 const struct ieee802154_addr *addr);
37 #endif