eapol_sm.h File Reference

hostapd / IEEE 802.1X-2004 Authenticator - EAPOL state machine More...

#include "defs.h"
#include "radius/radius.h"
Include dependency graph for eapol_sm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  eapol_auth_config
struct  eapol_auth_cb
struct  eapol_authenticator
 Global EAPOL authenticator data. More...
struct  eapol_state_machine
 Per-Supplicant Authenticator state machines. More...

Defines

#define AUTH_PAE_DEFAULT_quietPeriod   60
#define AUTH_PAE_DEFAULT_reAuthMax   2
#define BE_AUTH_DEFAULT_serverTimeout   30
#define EAPOL_SM_PREAUTH   BIT(0)
#define EAPOL_SM_WAIT_START   BIT(1)

Typedefs

typedef unsigned int Counter

Enumerations

enum  PortTypes { ForceUnauthorized = 1, ForceAuthorized = 3, Auto = 2 }
enum  PortState { Unauthorized = 2, Authorized = 1 }
enum  ControlledDirection { Both = 0, In = 1 }
enum  eapol_logger_level { EAPOL_LOGGER_DEBUG, EAPOL_LOGGER_INFO, EAPOL_LOGGER_WARNING }

Functions

struct eapol_authenticatoreapol_auth_init (struct eapol_auth_config *conf, struct eapol_auth_cb *cb)
void eapol_auth_deinit (struct eapol_authenticator *eapol)
struct eapol_state_machineeapol_auth_alloc (struct eapol_authenticator *eapol, const u8 *addr, int preauth, struct sta_info *sta)
void eapol_auth_free (struct eapol_state_machine *sm)
void eapol_auth_step (struct eapol_state_machine *sm)
 Advance EAPOL state machines.
void eapol_auth_initialize (struct eapol_state_machine *sm)
void eapol_auth_dump_state (FILE *f, const char *prefix, struct eapol_state_machine *sm)
int eapol_auth_eap_pending_cb (struct eapol_state_machine *sm, void *ctx)

Detailed Description

hostapd / IEEE 802.1X-2004 Authenticator - EAPOL state machine

Copyright
Copyright (c) 2002-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.

Definition in file eapol_sm.h.


Function Documentation

void eapol_auth_step ( struct eapol_state_machine sm  ) 

Advance EAPOL state machines.

Parameters:
sm EAPOL state machine

This function is called to advance EAPOL state machines after any change that could affect their state.

Definition at line 960 of file eapol_sm.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:17:13 2009 for hostapd by  doxygen 1.6.1