eap_common.h
Go to the documentation of this file.
00001 /*
00002  * EAP common peer/server definitions
00003  * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef EAP_COMMON_H
00016 #define EAP_COMMON_H
00017 
00018 #include "wpabuf.h"
00019 
00020 const u8 * eap_hdr_validate(int vendor, EapType eap_type,
00021                             const struct wpabuf *msg, size_t *plen);
00022 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len,
00023                               u8 code, u8 identifier);
00024 void eap_update_len(struct wpabuf *msg);
00025 u8 eap_get_id(const struct wpabuf *msg);
00026 EapType eap_get_type(const struct wpabuf *msg);
00027 
00028 #endif /* EAP_COMMON_H */


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:13