Classes | Defines | Functions
ctrl_iface_udp.c File Reference
#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 dependency graph for ctrl_iface_udp.c:

Go to the source code of this file.

Classes

struct  ctrl_iface_global_priv
struct  ctrl_iface_priv
struct  wpa_ctrl_dst

Defines

#define COOKIE_LEN   8

Functions

static int wpa_supplicant_ctrl_iface_attach (struct ctrl_iface_priv *priv, struct sockaddr_in *from, socklen_t fromlen)
void wpa_supplicant_ctrl_iface_deinit (struct ctrl_iface_priv *priv)
static int wpa_supplicant_ctrl_iface_detach (struct ctrl_iface_priv *priv, struct sockaddr_in *from, socklen_t fromlen)
static char * wpa_supplicant_ctrl_iface_get_cookie (struct ctrl_iface_priv *priv, size_t *reply_len)
struct ctrl_iface_privwpa_supplicant_ctrl_iface_init (struct wpa_supplicant *wpa_s)
static int wpa_supplicant_ctrl_iface_level (struct ctrl_iface_priv *priv, struct sockaddr_in *from, socklen_t fromlen, char *level)
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 (int sock, void *eloop_ctx, void *sock_ctx)
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_privwpa_supplicant_global_ctrl_iface_init (struct wpa_global *global)
static void wpa_supplicant_global_ctrl_iface_receive (int sock, void *eloop_ctx, void *sock_ctx)
static char * wpa_supplicant_global_get_cookie (struct ctrl_iface_global_priv *priv, size_t *reply_len)

Define Documentation

#define COOKIE_LEN   8

Definition at line 26 of file ctrl_iface_udp.c.


Function Documentation

static int wpa_supplicant_ctrl_iface_attach ( struct ctrl_iface_priv priv,
struct sockaddr_in *  from,
socklen_t  fromlen 
) [static]

Definition at line 59 of file ctrl_iface_udp.c.

Definition at line 315 of file ctrl_iface_udp.c.

static int wpa_supplicant_ctrl_iface_detach ( struct ctrl_iface_priv priv,
struct sockaddr_in *  from,
socklen_t  fromlen 
) [static]

Definition at line 79 of file ctrl_iface_udp.c.

static char* wpa_supplicant_ctrl_iface_get_cookie ( struct ctrl_iface_priv priv,
size_t *  reply_len 
) [static]

Definition at line 133 of file ctrl_iface_udp.c.

Definition at line 271 of file ctrl_iface_udp.c.

static int wpa_supplicant_ctrl_iface_level ( struct ctrl_iface_priv priv,
struct sockaddr_in *  from,
socklen_t  fromlen,
char *  level 
) [static]

Definition at line 106 of file ctrl_iface_udp.c.

static void wpa_supplicant_ctrl_iface_msg_cb ( void *  ctx,
int  level,
const char *  txt,
size_t  len 
) [static]

Definition at line 260 of file ctrl_iface_udp.c.

static void wpa_supplicant_ctrl_iface_receive ( int  sock,
void *  eloop_ctx,
void *  sock_ctx 
) [static]

Definition at line 152 of file ctrl_iface_udp.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 345 of file ctrl_iface_udp.c.

Definition at line 396 of file ctrl_iface_udp.c.

Definition at line 554 of file ctrl_iface_udp.c.

Definition at line 507 of file ctrl_iface_udp.c.

static void wpa_supplicant_global_ctrl_iface_receive ( int  sock,
void *  eloop_ctx,
void *  sock_ctx 
) [static]

Definition at line 432 of file ctrl_iface_udp.c.

static char* wpa_supplicant_global_get_cookie ( struct ctrl_iface_global_priv priv,
size_t *  reply_len 
) [static]

Definition at line 413 of file ctrl_iface_udp.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:40