wpa_auth_ie.c File Reference

hostapd - WPA/RSN IE and KDE definitions More...

#include "includes.h"
#include "common.h"
#include "config.h"
#include "ieee802_11.h"
#include "eapol_sm.h"
#include "wpa.h"
#include "pmksa_cache.h"
#include "wpa_auth_ie.h"
#include "wpa_auth_i.h"
Include dependency graph for wpa_auth_ie.c:

Go to the source code of this file.

Data Structures

struct  wpa_auth_okc_iter_data

Functions

int wpa_write_rsn_ie (struct wpa_auth_config *conf, u8 *buf, size_t len, const u8 *pmkid)
int wpa_auth_gen_wpa_ie (struct wpa_authenticator *wpa_auth)
u8 * wpa_add_kde (u8 *pos, u32 kde, const u8 *data, size_t data_len, const u8 *data2, size_t data2_len)
int wpa_validate_wpa_ie (struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len)
int wpa_parse_kde_ies (const u8 *buf, size_t len, struct wpa_eapol_ie_parse *ie)
 Parse EAPOL-Key Key Data IEs.
int wpa_auth_uses_mfp (struct wpa_state_machine *sm)

Detailed Description

hostapd - WPA/RSN IE and KDE definitions

Copyright
Copyright (c) 2004-2008, 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.

Definition in file wpa_auth_ie.c.


Function Documentation

int wpa_parse_kde_ies ( const u8 *  buf,
size_t  len,
struct wpa_eapol_ie_parse ie 
)

Parse EAPOL-Key Key Data IEs.

Parameters:
buf Pointer to the Key Data buffer
len Key Data Length
ie Pointer to parsed IE data
Returns:
0 on success, -1 on failure

Definition at line 817 of file wpa_auth_ie.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:18:20 2009 for hostapd by  doxygen 1.6.1