Source
1
+
/* SPDX-License-Identifier: GPL-2.0-only */
1
2
/*
2
3
* Copyright (C) 2007, 2008, 2009 Siemens AG
3
-
*
4
-
* This program is free software; you can redistribute it and/or modify
5
-
* it under the terms of the GNU General Public License version 2
6
-
* as published by the Free Software Foundation.
7
-
*
8
-
* This program is distributed in the hope that it will be useful,
9
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
-
* GNU General Public License for more details.
12
-
*
13
4
*/
14
5
#ifndef IEEE_802154_LOCAL_H
15
6
#define IEEE_802154_LOCAL_H
16
7
17
8
int __init ieee802154_nl_init(void);
18
9
void ieee802154_nl_exit(void);
19
10
20
11
#define IEEE802154_OP(_cmd, _func) \
21
12
{ \
22
13
.cmd = _cmd, \