Classes | Functions | Variables
driver_wired.c File Reference
#include "includes.h"
#include <sys/ioctl.h>
#include <net/if.h>
#include "common.h"
#include "eloop.h"
#include "driver.h"
Include dependency graph for driver_wired.c:

Go to the source code of this file.

Classes

struct  dhcp_message
struct  ieee8023_hdr
struct  wpa_driver_wired_data

Functions

static void wired_driver_hapd_deinit (void *priv)
static void * wired_driver_hapd_init (struct hostapd_data *hapd, struct wpa_init_params *params)
static int wired_init_sockets (struct wpa_driver_wired_data *drv, u8 *own_addr)
static int wired_multicast_membership (int sock, int ifindex, const u8 *addr, int add)
static int wired_send_eapol (void *priv, const u8 *addr, const u8 *data, size_t data_len, int encrypt, const u8 *own_addr)
static void wpa_driver_wired_deinit (void *priv)
static int wpa_driver_wired_get_bssid (void *priv, u8 *bssid)
static int wpa_driver_wired_get_capa (void *priv, struct wpa_driver_capa *capa)
static int wpa_driver_wired_get_ifflags (const char *ifname, int *flags)
static int wpa_driver_wired_get_ssid (void *priv, u8 *ssid)
static void * wpa_driver_wired_init (void *ctx, const char *ifname)
static int wpa_driver_wired_multi (const char *ifname, const u8 *addr, int add)
static int wpa_driver_wired_set_ifflags (const char *ifname, int flags)

Variables

static const u8 pae_group_addr [ETH_ALEN]
struct ieee8023_hdr STRUCT_PACKED
struct wpa_driver_ops wpa_driver_wired_ops

Function Documentation

static void wired_driver_hapd_deinit ( void *  priv) [static]

Definition at line 375 of file driver_wired.c.

static void* wired_driver_hapd_init ( struct hostapd_data hapd,
struct wpa_init_params params 
) [static]

Definition at line 351 of file driver_wired.c.

static int wired_init_sockets ( struct wpa_driver_wired_data drv,
u8 *  own_addr 
) [static]

Definition at line 204 of file driver_wired.c.

static int wired_multicast_membership ( int  sock,
int  ifindex,
const u8 *  addr,
int  add 
) [static]

Definition at line 87 of file driver_wired.c.

static int wired_send_eapol ( void *  priv,
const u8 *  addr,
const u8 *  data,
size_t  data_len,
int  encrypt,
const u8 *  own_addr 
) [static]

Definition at line 312 of file driver_wired.c.

static void wpa_driver_wired_deinit ( void *  priv) [static]

Definition at line 569 of file driver_wired.c.

static int wpa_driver_wired_get_bssid ( void *  priv,
u8 *  bssid 
) [static]

Definition at line 396 of file driver_wired.c.

static int wpa_driver_wired_get_capa ( void *  priv,
struct wpa_driver_capa capa 
) [static]

Definition at line 404 of file driver_wired.c.

static int wpa_driver_wired_get_ifflags ( const char *  ifname,
int *  flags 
) [static]

Definition at line 412 of file driver_wired.c.

static int wpa_driver_wired_get_ssid ( void *  priv,
u8 *  ssid 
) [static]

Definition at line 389 of file driver_wired.c.

static void* wpa_driver_wired_init ( void *  ctx,
const char *  ifname 
) [static]

Definition at line 510 of file driver_wired.c.

static int wpa_driver_wired_multi ( const char *  ifname,
const u8 *  addr,
int  add 
) [static]

Definition at line 460 of file driver_wired.c.

static int wpa_driver_wired_set_ifflags ( const char *  ifname,
int  flags 
) [static]

Definition at line 436 of file driver_wired.c.


Variable Documentation

const u8 pae_group_addr[ETH_ALEN] [static]
Initial value:
{ 0x01, 0x80, 0xc2, 0x00, 0x00, 0x03 }

Definition at line 46 of file driver_wired.c.

Initial value:
 {
        .name = "wired",
        .desc = "Wired Ethernet driver",
        .hapd_init = wired_driver_hapd_init,
        .hapd_deinit = wired_driver_hapd_deinit,
        .hapd_send_eapol = wired_send_eapol,
        .get_ssid = wpa_driver_wired_get_ssid,
        .get_bssid = wpa_driver_wired_get_bssid,
        .get_capa = wpa_driver_wired_get_capa,
        .init = wpa_driver_wired_init,
        .deinit = wpa_driver_wired_deinit,
}

Definition at line 611 of file driver_wired.c.



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