#include "includes.h"
#include "common.h"
#include "wps/wps.h"
#include "wps/wps_i.h"
Go to the source code of this file.
Classes | |
struct | ndef_record |
Defines | |
#define | FLAG_CHUNK (1 << 5) |
#define | FLAG_ID_LENGTH_PRESENT (1 << 3) |
#define | FLAG_MESSAGE_BEGIN (1 << 7) |
#define | FLAG_MESSAGE_END (1 << 6) |
#define | FLAG_SHORT_RECORD (1 << 4) |
#define | FLAG_TNF_RFC2046 (0x02) |
Functions | |
static struct wpabuf * | ndef_build_record (u8 flags, void *type, u8 type_length, void *id, u8 id_length, void *payload, u32 payload_length) |
struct wpabuf * | ndef_build_wifi (struct wpabuf *buf) |
static int | ndef_parse_record (u8 *data, u32 size, struct ndef_record *record) |
static struct wpabuf * | ndef_parse_records (struct wpabuf *buf, int(*filter)(struct ndef_record *)) |
struct wpabuf * | ndef_parse_wifi (struct wpabuf *buf) |
static int | wifi_filter (struct ndef_record *record) |
Variables | |
static char | wifi_handover_type [] = "application/vnd.wfa.wsc" |
#define FLAG_CHUNK (1 << 5) |
#define FLAG_ID_LENGTH_PRESENT (1 << 3) |
#define FLAG_MESSAGE_BEGIN (1 << 7) |
#define FLAG_MESSAGE_END (1 << 6) |
#define FLAG_SHORT_RECORD (1 << 4) |
#define FLAG_TNF_RFC2046 (0x02) |
static struct wpabuf* ndef_build_record | ( | u8 | flags, |
void * | type, | ||
u8 | type_length, | ||
void * | id, | ||
u8 | id_length, | ||
void * | payload, | ||
u32 | payload_length | ||
) | [static, read] |
struct wpabuf* ndef_build_wifi | ( | struct wpabuf * | buf | ) | [read] |
static int ndef_parse_record | ( | u8 * | data, |
u32 | size, | ||
struct ndef_record * | record | ||
) | [static] |
static struct wpabuf* ndef_parse_records | ( | struct wpabuf * | buf, |
int(*)(struct ndef_record *) | filter | ||
) | [static, read] |
struct wpabuf* ndef_parse_wifi | ( | struct wpabuf * | buf | ) | [read] |
static int wifi_filter | ( | struct ndef_record * | record | ) | [static] |
char wifi_handover_type[] = "application/vnd.wfa.wsc" [static] |