$search
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "config.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "wpa_supplicant_i.h"
#include "ctrl_iface.h"
#include "common/wpa_ctrl.h"
#include <sddl.h>
Go to the source code of this file.
Classes | |
struct | ctrl_iface_global_priv |
struct | ctrl_iface_priv |
struct | wpa_ctrl_dst |
struct | wpa_global_dst |
Defines | |
#define | _WIN32_WINNT 0x0500 |
#define | NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) |
#define | REPLY_BUFSIZE 4096 |
#define | REQUEST_BUFSIZE 256 |
#define | WPA_SUPPLICANT_NAMED_PIPE "WpaSupplicant" |
Functions | |
static int | ctrl_broken_pipe (HANDLE pipe, int used) |
static void | ctrl_close_pipe (struct wpa_ctrl_dst *dst) |
static void | ctrl_flush_broken_pipes (struct ctrl_iface_priv *priv) |
static int | ctrl_iface_parse (struct ctrl_iface_priv *priv, const char *params) |
static VOID WINAPI | ctrl_iface_read_completed (DWORD err, DWORD bytes, LPOVERLAPPED overlap) |
static VOID WINAPI | ctrl_iface_write_completed (DWORD err, DWORD bytes, LPOVERLAPPED overlap) |
static int | ctrl_open_pipe (struct ctrl_iface_priv *priv) |
static void | global_close_pipe (struct wpa_global_dst *dst) |
static void | global_flush_broken_pipes (struct ctrl_iface_global_priv *priv) |
static VOID WINAPI | global_iface_read_completed (DWORD err, DWORD bytes, LPOVERLAPPED overlap) |
static VOID WINAPI | global_iface_write_completed (DWORD err, DWORD bytes, LPOVERLAPPED overlap) |
static int | global_open_pipe (struct ctrl_iface_global_priv *priv) |
void | wpa_supplicant_ctrl_iface_deinit (struct ctrl_iface_priv *priv) |
struct ctrl_iface_priv * | wpa_supplicant_ctrl_iface_init (struct wpa_supplicant *wpa_s) |
static void | wpa_supplicant_ctrl_iface_msg_cb (void *ctx, int level, const char *txt, size_t len) |
static void | wpa_supplicant_ctrl_iface_receive (void *, void *) |
static void | wpa_supplicant_ctrl_iface_rx (struct wpa_ctrl_dst *dst, size_t len) |
static void | wpa_supplicant_ctrl_iface_send (struct ctrl_iface_priv *priv, int level, const char *buf, size_t len) |
void | wpa_supplicant_ctrl_iface_wait (struct ctrl_iface_priv *priv) |
void | wpa_supplicant_global_ctrl_iface_deinit (struct ctrl_iface_global_priv *priv) |
struct ctrl_iface_global_priv * | wpa_supplicant_global_ctrl_iface_init (struct wpa_global *global) |
static void | wpa_supplicant_global_iface_receive (void *eloop_data, void *user_ctx) |
static void | wpa_supplicant_global_iface_rx (struct wpa_global_dst *dst, size_t len) |
#define _WIN32_WINNT 0x0500 |
Definition at line 42 of file ctrl_iface_named_pipe.c.
#define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) |
Definition at line 50 of file ctrl_iface_named_pipe.c.
#define REPLY_BUFSIZE 4096 |
Definition at line 55 of file ctrl_iface_named_pipe.c.
#define REQUEST_BUFSIZE 256 |
Definition at line 54 of file ctrl_iface_named_pipe.c.
#define WPA_SUPPLICANT_NAMED_PIPE "WpaSupplicant" |
Definition at line 48 of file ctrl_iface_named_pipe.c.
static int ctrl_broken_pipe | ( | HANDLE | pipe, | |
int | used | |||
) | [static] |
Definition at line 106 of file ctrl_iface_named_pipe.c.
static void ctrl_close_pipe | ( | struct wpa_ctrl_dst * | dst | ) | [static] |
Definition at line 228 of file ctrl_iface_named_pipe.c.
static void ctrl_flush_broken_pipes | ( | struct ctrl_iface_priv * | priv | ) | [static] |
Definition at line 120 of file ctrl_iface_named_pipe.c.
static int ctrl_iface_parse | ( | struct ctrl_iface_priv * | priv, | |
const char * | params | |||
) | [static] |
Definition at line 390 of file ctrl_iface_named_pipe.c.
static VOID WINAPI ctrl_iface_read_completed | ( | DWORD | err, | |
DWORD | bytes, | |||
LPOVERLAPPED | overlap | |||
) | [static] |
Definition at line 352 of file ctrl_iface_named_pipe.c.
static VOID WINAPI ctrl_iface_write_completed | ( | DWORD | err, | |
DWORD | bytes, | |||
LPOVERLAPPED | overlap | |||
) | [static] |
Definition at line 260 of file ctrl_iface_named_pipe.c.
static int ctrl_open_pipe | ( | struct ctrl_iface_priv * | priv | ) | [static] |
Definition at line 138 of file ctrl_iface_named_pipe.c.
static void global_close_pipe | ( | struct wpa_global_dst * | dst | ) | [static] |
Definition at line 659 of file ctrl_iface_named_pipe.c.
static void global_flush_broken_pipes | ( | struct ctrl_iface_global_priv * | priv | ) | [static] |
Definition at line 562 of file ctrl_iface_named_pipe.c.
static VOID WINAPI global_iface_read_completed | ( | DWORD | err, | |
DWORD | bytes, | |||
LPOVERLAPPED | overlap | |||
) | [static] |
Definition at line 768 of file ctrl_iface_named_pipe.c.
static VOID WINAPI global_iface_write_completed | ( | DWORD | err, | |
DWORD | bytes, | |||
LPOVERLAPPED | overlap | |||
) | [static] |
Definition at line 691 of file ctrl_iface_named_pipe.c.
static int global_open_pipe | ( | struct ctrl_iface_global_priv * | priv | ) | [static] |
Definition at line 580 of file ctrl_iface_named_pipe.c.
void wpa_supplicant_ctrl_iface_deinit | ( | struct ctrl_iface_priv * | priv | ) |
Definition at line 471 of file ctrl_iface_named_pipe.c.
struct ctrl_iface_priv* wpa_supplicant_ctrl_iface_init | ( | struct wpa_supplicant * | wpa_s | ) | [read] |
Definition at line 443 of file ctrl_iface_named_pipe.c.
static void wpa_supplicant_ctrl_iface_msg_cb | ( | void * | ctx, | |
int | level, | |||
const char * | txt, | |||
size_t | len | |||
) | [static] |
Definition at line 432 of file ctrl_iface_named_pipe.c.
static void wpa_supplicant_ctrl_iface_receive | ( | void * | eloop_data, | |
void * | user_ctx | |||
) | [static] |
Definition at line 363 of file ctrl_iface_named_pipe.c.
static void wpa_supplicant_ctrl_iface_rx | ( | struct wpa_ctrl_dst * | dst, | |
size_t | len | |||
) | [static] |
Definition at line 285 of file ctrl_iface_named_pipe.c.
static void wpa_supplicant_ctrl_iface_send | ( | struct ctrl_iface_priv * | priv, | |
int | level, | |||
const char * | buf, | |||
size_t | len | |||
) | [static] |
Definition at line 481 of file ctrl_iface_named_pipe.c.
void wpa_supplicant_ctrl_iface_wait | ( | struct ctrl_iface_priv * | priv | ) |
Definition at line 530 of file ctrl_iface_named_pipe.c.
void wpa_supplicant_global_ctrl_iface_deinit | ( | struct ctrl_iface_global_priv * | priv | ) |
Definition at line 830 of file ctrl_iface_named_pipe.c.
struct ctrl_iface_global_priv* wpa_supplicant_global_ctrl_iface_init | ( | struct wpa_global * | global | ) | [read] |
Definition at line 811 of file ctrl_iface_named_pipe.c.
static void wpa_supplicant_global_iface_receive | ( | void * | eloop_data, | |
void * | user_ctx | |||
) | [static] |
Definition at line 779 of file ctrl_iface_named_pipe.c.
static void wpa_supplicant_global_iface_rx | ( | struct wpa_global_dst * | dst, | |
size_t | len | |||
) | [static] |
Definition at line 719 of file ctrl_iface_named_pipe.c.