⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eap_fast_pac.h

📁 IEEE 802.11a/b/g 服务器端AP
💻 H
字号:
/* * EAP peer method: EAP-FAST PAC file processing * Copyright (c) 2004-2007, Jouni Malinen <j@w1.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 EAP_FAST_PAC_H#define EAP_FAST_PAC_H#include "eap_common/eap_fast_common.h"struct eap_fast_pac {	struct eap_fast_pac *next;	u8 pac_key[EAP_FAST_PAC_KEY_LEN];	u8 *pac_opaque;	size_t pac_opaque_len;	u8 *pac_info;	size_t pac_info_len;	u8 *a_id;	size_t a_id_len;	u8 *i_id;	size_t i_id_len;	u8 *a_id_info;	size_t a_id_info_len;	u16 pac_type;};void eap_fast_free_pac(struct eap_fast_pac *pac);struct eap_fast_pac * eap_fast_get_pac(struct eap_fast_pac *pac_root,				       const u8 *a_id, size_t a_id_len,				       u16 pac_type);int eap_fast_add_pac(struct eap_fast_pac **pac_root,		     struct eap_fast_pac **pac_current,		     struct eap_fast_pac *entry);int eap_fast_load_pac(struct eap_sm *sm, struct eap_fast_pac **pac_root,		      const char *pac_file);int eap_fast_save_pac(struct eap_sm *sm, struct eap_fast_pac *pac_root,		      const char *pac_file);size_t eap_fast_pac_list_truncate(struct eap_fast_pac *pac_root,				  size_t max_len);int eap_fast_load_pac_bin(struct eap_sm *sm, struct eap_fast_pac **pac_root,			  const char *pac_file);int eap_fast_save_pac_bin(struct eap_sm *sm, struct eap_fast_pac *pac_root,			  const char *pac_file);#endif /* EAP_FAST_PAC_H */

⌨️ 快捷键说明

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