ieee802154_i.h (d98be45b3657fc233f5a098279a4e42ab6f0fa4f) | ieee802154_i.h (60741361c3ca229a1dbb18e05d11e97b7ea75d69) |
---|---|
1/* 2 * Copyright (C) 2007-2012 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, --- 85 unchanged lines hidden (view full) --- 94 /* protects sec from concurrent access by netlink. access by 95 * encrypt/decrypt/header_create safe without additional protection. 96 */ 97 struct mutex sec_mtx; 98 99 struct mac802154_llsec sec; 100}; 101 | 1/* 2 * Copyright (C) 2007-2012 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, --- 85 unchanged lines hidden (view full) --- 94 /* protects sec from concurrent access by netlink. access by 95 * encrypt/decrypt/header_create safe without additional protection. 96 */ 97 struct mutex sec_mtx; 98 99 struct mac802154_llsec sec; 100}; 101 |
102#define mac802154_to_priv(_hw) container_of(_hw, struct ieee802154_local, hw) 103 | |
104#define MAC802154_CHAN_NONE 0xff /* No channel is assigned */ 105 | 102#define MAC802154_CHAN_NONE 0xff /* No channel is assigned */ 103 |
104static inline struct ieee802154_local * 105hw_to_local(struct ieee802154_hw *hw) 106{ 107 return container_of(hw, struct ieee802154_local, hw); 108} 109 |
|
106extern struct ieee802154_reduced_mlme_ops mac802154_mlme_reduced; 107extern struct ieee802154_mlme_ops mac802154_mlme_wpan; 108 109int mac802154_slave_open(struct net_device *dev); 110int mac802154_slave_close(struct net_device *dev); 111 112void mac802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb); 113void mac802154_monitor_setup(struct net_device *dev); --- 55 unchanged lines hidden --- | 110extern struct ieee802154_reduced_mlme_ops mac802154_mlme_reduced; 111extern struct ieee802154_mlme_ops mac802154_mlme_wpan; 112 113int mac802154_slave_open(struct net_device *dev); 114int mac802154_slave_close(struct net_device *dev); 115 116void mac802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb); 117void mac802154_monitor_setup(struct net_device *dev); --- 55 unchanged lines hidden --- |