mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 17:28:29 -05:00
0f3d578efc
Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
23 lines
642 B
C
23 lines
642 B
C
/*
|
|
* EAP common peer/server definitions
|
|
* Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef EAP_COMMON_H
|
|
#define EAP_COMMON_H
|
|
|
|
#include "wpabuf.h"
|
|
|
|
const u8 * eap_hdr_validate(int vendor, EapType eap_type,
|
|
const struct wpabuf *msg, size_t *plen);
|
|
struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len,
|
|
u8 code, u8 identifier);
|
|
void eap_update_len(struct wpabuf *msg);
|
|
u8 eap_get_id(const struct wpabuf *msg);
|
|
EapType eap_get_type(const struct wpabuf *msg);
|
|
|
|
#endif /* EAP_COMMON_H */
|