netlink.c File Reference

#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "priv_netlink.h"
#include "netlink.h"
Include dependency graph for netlink.c:

Go to the source code of this file.

Classes

struct  netlink_data

Functions

void netlink_deinit (struct netlink_data *netlink)
struct netlink_datanetlink_init (struct netlink_config *cfg)
static void netlink_receive (int sock, void *eloop_ctx, void *sock_ctx)
static void netlink_receive_link (struct netlink_data *netlink, void(*cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf, size_t len), struct nlmsghdr *h)
int netlink_send_oper_ifla (struct netlink_data *netlink, int ifindex, int linkmode, int operstate)

Function Documentation

void netlink_deinit ( struct netlink_data netlink  ) 

Definition at line 134 of file netlink.c.

struct netlink_data* netlink_init ( struct netlink_config cfg  )  [read]

Definition at line 97 of file netlink.c.

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

Definition at line 42 of file netlink.c.

static void netlink_receive_link ( struct netlink_data netlink,
void(*)(void *ctx, struct ifinfomsg *ifi, u8 *buf, size_t len)  cb,
struct nlmsghdr h 
) [static]

Definition at line 29 of file netlink.c.

int netlink_send_oper_ifla ( struct netlink_data netlink,
int  ifindex,
int  linkmode,
int  operstate 
)

Definition at line 146 of file netlink.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:50 2013