Linux 中的无线与 InfiniBand 技术详解
1. Linux 无线相关内容
在 Linux 系统的无线部分,有几个关键的函数和数据结构值得关注。
首先是几个重要的函数:
- static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, const u8 *orig_addr, __le32 orig_sn, u8 target_flags, const u8 *target, __le32 target_sn, const u8 *da, u8 hop_count, u8 ttl, __le32 lifetime, __le32 metric, __le32 preq_id, struct ieee80211_sub_if_data *sdata); 此方法用于发送 PREQ 或 PREP 管理数据包。
- static void hwmp_preq_frame_process(struct ieee80211_sub_if_data *sdata, struct ieee80211_mgmt *mgmt, const u8 *preq_elem, u32 metric); 该方法用于处理 PREQ 消息。
- struct ieee80211_rx_status *IEEE80211_SKB_RXCB(struct sk_buff *skb); 此方法返回与指定 SKB 关联的控制缓冲区(cb)相关的 ieee80211_rx_status 对象。
超级会员免费看
订阅专栏 解锁全文
47

被折叠的 条评论
为什么被折叠?



