eap_tnc.c File Reference
#include "includes.h"
#include "common.h"
#include "base64.h"
#include <iterator>
#include "eap_i.h"
#include "tncc.h"
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 wpabuf * | eap_tnc_build_frag_ack (u8 id, u8 code) |
static struct wpabuf * | eap_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 wpabuf * | eap_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 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) |
Define Documentation
#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 |
Function Documentation
int eap_peer_tnc_register |
( |
void |
|
) |
|
static struct wpabuf* eap_tnc_build_frag_ack |
( |
u8 |
id, |
|
|
u8 |
code | |
|
) |
| | [static, read] |
static void eap_tnc_deinit |
( |
struct eap_sm * |
sm, |
|
|
void * |
priv | |
|
) |
| | [static] |
static void* eap_tnc_init |
( |
struct eap_sm * |
sm |
) |
[static] |
static int eap_tnc_process_cont |
( |
struct eap_tnc_data * |
data, |
|
|
const u8 * |
buf, |
|
|
size_t |
len | |
|
) |
| | [static] |