eap_tnc.c File Reference

#include "includes.h"
#include "common.h"
#include "base64.h"
#include <iterator>
#include "eap_i.h"
#include "tncc.h"
Include dependency graph for eap_tnc.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eap_tnc_data

Defines

#define EAP_TNC_FLAGS_LENGTH_INCLUDED   0x80
#define EAP_TNC_FLAGS_MORE_FRAGMENTS   0x40
#define EAP_TNC_FLAGS_START   0x20
#define EAP_TNC_VERSION   1
#define EAP_TNC_VERSION_MASK   0x07

Functions

int eap_peer_tnc_register (void)
static struct wpabufeap_tnc_build_frag_ack (u8 id, u8 code)
static struct wpabufeap_tnc_build_msg (struct eap_tnc_data *data, struct eap_method_ret *ret, u8 id)
static void eap_tnc_deinit (struct eap_sm *sm, void *priv)
static void * eap_tnc_init (struct eap_sm *sm)
static struct wpabufeap_tnc_process (struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData)
static int eap_tnc_process_cont (struct eap_tnc_data *data, const u8 *buf, size_t len)
static struct wpabufeap_tnc_process_fragment (struct eap_tnc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u32 message_length, const u8 *buf, size_t len)

Define Documentation

#define EAP_TNC_FLAGS_LENGTH_INCLUDED   0x80

Definition at line 34 of file eap_tnc.c.

#define EAP_TNC_FLAGS_MORE_FRAGMENTS   0x40

Definition at line 35 of file eap_tnc.c.

#define EAP_TNC_FLAGS_START   0x20

Definition at line 36 of file eap_tnc.c.

#define EAP_TNC_VERSION   1

Definition at line 39 of file eap_tnc.c.

#define EAP_TNC_VERSION_MASK   0x07

Definition at line 37 of file eap_tnc.c.


Function Documentation

int eap_peer_tnc_register ( void   ) 

Definition at line 416 of file eap_tnc.c.

static struct wpabuf* eap_tnc_build_frag_ack ( u8  id,
u8  code 
) [static, read]

Definition at line 72 of file eap_tnc.c.

static struct wpabuf* eap_tnc_build_msg ( struct eap_tnc_data data,
struct eap_method_ret ret,
u8  id 
) [static, read]

Definition at line 90 of file eap_tnc.c.

static void eap_tnc_deinit ( struct eap_sm sm,
void *  priv 
) [static]

Definition at line 61 of file eap_tnc.c.

static void* eap_tnc_init ( struct eap_sm sm  )  [static]

Definition at line 42 of file eap_tnc.c.

static struct wpabuf* eap_tnc_process ( struct eap_sm sm,
void *  priv,
struct eap_method_ret ret,
const struct wpabuf reqData 
) [static, read]

Definition at line 203 of file eap_tnc.c.

static int eap_tnc_process_cont ( struct eap_tnc_data data,
const u8 buf,
size_t  len 
) [static]

Definition at line 150 of file eap_tnc.c.

static struct wpabuf* eap_tnc_process_fragment ( struct eap_tnc_data data,
struct eap_method_ret ret,
u8  id,
u8  flags,
u32  message_length,
const u8 buf,
size_t  len 
) [static, read]

Definition at line 169 of file eap_tnc.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:02:07 2013