eapol_supp_sm.h File Reference

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

Go to the source code of this file.

Classes

struct  eapol_config
struct  eapol_ctx

Defines

#define EAPOL_REQUIRE_KEY_BROADCAST   BIT(1)
#define EAPOL_REQUIRE_KEY_UNICAST   BIT(0)
#define eapol_sm_notify_pmkid_attempt(sm, attempt)   do { } while (0)
#define eapol_sm_register_scard_ctx(sm, ctx)   do { } while (0)

Enumerations

enum  PortControl { Auto, ForceUnauthorized, ForceAuthorized }
enum  PortStatus { Unauthorized, Authorized }

Functions

static void eapol_sm_configure (struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart)
static void eapol_sm_deinit (struct eapol_sm *sm)
static int eapol_sm_get_key (struct eapol_sm *sm, u8 *key, size_t len)
static int eapol_sm_get_mib (struct eapol_sm *sm, char *buf, size_t buflen)
static int eapol_sm_get_status (struct eapol_sm *sm, char *buf, size_t buflen, int verbose)
static struct eapol_smeapol_sm_init (struct eapol_ctx *ctx)
static void eapol_sm_invalidate_cached_session (struct eapol_sm *sm)
static void eapol_sm_notify_cached (struct eapol_sm *sm)
static void eapol_sm_notify_config (struct eapol_sm *sm, struct eap_peer_config *config, struct eapol_config *conf)
static void eapol_sm_notify_ctrl_attached (struct eapol_sm *sm)
static void eapol_sm_notify_ctrl_response (struct eapol_sm *sm)
static void eapol_sm_notify_eap_fail (struct eapol_sm *sm, Boolean fail)
static void eapol_sm_notify_eap_success (struct eapol_sm *sm, Boolean success)
static void eapol_sm_notify_logoff (struct eapol_sm *sm, Boolean logoff)
static void eapol_sm_notify_lower_layer_success (struct eapol_sm *sm, int in_eapol_sm)
static void eapol_sm_notify_portControl (struct eapol_sm *sm, PortControl portControl)
static void eapol_sm_notify_portEnabled (struct eapol_sm *sm, Boolean enabled)
static void eapol_sm_notify_portValid (struct eapol_sm *sm, Boolean valid)
static void eapol_sm_notify_tx_eapol_key (struct eapol_sm *sm)
static void eapol_sm_request_reauth (struct eapol_sm *sm)
static int eapol_sm_rx_eapol (struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len)
static void eapol_sm_step (struct eapol_sm *sm)

Define Documentation

#define EAPOL_REQUIRE_KEY_BROADCAST   BIT(1)

Definition at line 38 of file eapol_supp_sm.h.

#define EAPOL_REQUIRE_KEY_UNICAST   BIT(0)

Definition at line 37 of file eapol_supp_sm.h.

#define eapol_sm_notify_pmkid_attempt ( sm,
attempt   )     do { } while (0)

Definition at line 323 of file eapol_supp_sm.h.

#define eapol_sm_register_scard_ctx ( sm,
ctx   )     do { } while (0)

Definition at line 324 of file eapol_supp_sm.h.


Enumeration Type Documentation

Enumerator:
Auto 
ForceUnauthorized 
ForceAuthorized 

Definition at line 21 of file eapol_supp_sm.h.

enum PortStatus
Enumerator:
Unauthorized 
Authorized 

Definition at line 20 of file eapol_supp_sm.h.


Function Documentation

static void eapol_sm_configure ( struct eapol_sm sm,
int  heldPeriod,
int  authPeriod,
int  startPeriod,
int  maxStart 
) [inline, static]

Definition at line 280 of file eapol_supp_sm.h.

static void eapol_sm_deinit ( struct eapol_sm sm  )  [inline, static]

Definition at line 264 of file eapol_supp_sm.h.

static int eapol_sm_get_key ( struct eapol_sm sm,
u8 key,
size_t  len 
) [inline, static]

Definition at line 313 of file eapol_supp_sm.h.

static int eapol_sm_get_mib ( struct eapol_sm sm,
char *  buf,
size_t  buflen 
) [inline, static]

Definition at line 275 of file eapol_supp_sm.h.

static int eapol_sm_get_status ( struct eapol_sm sm,
char *  buf,
size_t  buflen,
int  verbose 
) [inline, static]

Definition at line 270 of file eapol_supp_sm.h.

static struct eapol_sm* eapol_sm_init ( struct eapol_ctx ctx  )  [static, read]

Definition at line 259 of file eapol_supp_sm.h.

static void eapol_sm_invalidate_cached_session ( struct eapol_sm sm  )  [inline, static]

Definition at line 342 of file eapol_supp_sm.h.

static void eapol_sm_notify_cached ( struct eapol_sm sm  )  [inline, static]

Definition at line 320 of file eapol_supp_sm.h.

static void eapol_sm_notify_config ( struct eapol_sm sm,
struct eap_peer_config config,
struct eapol_config conf 
) [inline, static]

Definition at line 308 of file eapol_supp_sm.h.

static void eapol_sm_notify_ctrl_attached ( struct eapol_sm sm  )  [inline, static]

Definition at line 329 of file eapol_supp_sm.h.

static void eapol_sm_notify_ctrl_response ( struct eapol_sm sm  )  [inline, static]

Definition at line 332 of file eapol_supp_sm.h.

static void eapol_sm_notify_eap_fail ( struct eapol_sm sm,
Boolean  fail 
) [inline, static]

Definition at line 305 of file eapol_supp_sm.h.

static void eapol_sm_notify_eap_success ( struct eapol_sm sm,
Boolean  success 
) [inline, static]

Definition at line 301 of file eapol_supp_sm.h.

static void eapol_sm_notify_logoff ( struct eapol_sm sm,
Boolean  logoff 
) [inline, static]

Definition at line 317 of file eapol_supp_sm.h.

static void eapol_sm_notify_lower_layer_success ( struct eapol_sm sm,
int  in_eapol_sm 
) [inline, static]

Definition at line 338 of file eapol_supp_sm.h.

static void eapol_sm_notify_portControl ( struct eapol_sm sm,
PortControl  portControl 
) [inline, static]

Definition at line 325 of file eapol_supp_sm.h.

static void eapol_sm_notify_portEnabled ( struct eapol_sm sm,
Boolean  enabled 
) [inline, static]

Definition at line 293 of file eapol_supp_sm.h.

static void eapol_sm_notify_portValid ( struct eapol_sm sm,
Boolean  valid 
) [inline, static]

Definition at line 297 of file eapol_supp_sm.h.

static void eapol_sm_notify_tx_eapol_key ( struct eapol_sm sm  )  [inline, static]

Definition at line 290 of file eapol_supp_sm.h.

static void eapol_sm_request_reauth ( struct eapol_sm sm  )  [inline, static]

Definition at line 335 of file eapol_supp_sm.h.

static int eapol_sm_rx_eapol ( struct eapol_sm sm,
const u8 src,
const u8 buf,
size_t  len 
) [inline, static]

Definition at line 285 of file eapol_supp_sm.h.

static void eapol_sm_step ( struct eapol_sm sm  )  [inline, static]

Definition at line 267 of file eapol_supp_sm.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:39 2013