preauth.h

来自「hostapd源代码」· C头文件 代码 · 共 59 行

H
59
字号
/* * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi> * * 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. * * Alternatively, this software may be distributed under the terms of BSD * license. * * See README and COPYING for more details. */#ifndef PREAUTH_H#define PREAUTH_H#ifdef CONFIG_RSN_PREAUTHint rsn_preauth_iface_init(struct hostapd_data *hapd);void rsn_preauth_iface_deinit(struct hostapd_data *hapd);void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,			  int success);void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,		      u8 *buf, size_t len);void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);#else /* CONFIG_RSN_PREAUTH */static inline int rsn_preauth_iface_init(struct hostapd_data *hapd){	return 0;}static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd){}static inline void rsn_preauth_finished(struct hostapd_data *hapd,					struct sta_info *sta,					int success){}static inline void rsn_preauth_send(struct hostapd_data *hapd,				    struct sta_info *sta,				    u8 *buf, size_t len){}static inline void rsn_preauth_free_station(struct hostapd_data *hapd,					    struct sta_info *sta){}#endif /* CONFIG_RSN_PREAUTH */#endif /* PREAUTH_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?