Classes | Enumerations | Functions
wps_upnp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  upnp_wps_device_ctx
struct  upnp_wps_peer

Enumerations

enum  upnp_wps_wlanevent_type { UPNP_WPS_WLANEVENT_TYPE_PROBE = 1, UPNP_WPS_WLANEVENT_TYPE_EAP = 2 }

Functions

void upnp_wps_device_deinit (struct upnp_wps_device_sm *sm)
struct upnp_wps_device_smupnp_wps_device_init (struct upnp_wps_device_ctx *ctx, struct wps_context *wps, void *priv)
int upnp_wps_device_send_wlan_event (struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg)
int upnp_wps_device_start (struct upnp_wps_device_sm *sm, char *net_if)
void upnp_wps_device_stop (struct upnp_wps_device_sm *sm)
int upnp_wps_subscribers (struct upnp_wps_device_sm *sm)

Enumeration Type Documentation

Enumerator:
UPNP_WPS_WLANEVENT_TYPE_PROBE 
UPNP_WPS_WLANEVENT_TYPE_EAP 

Definition at line 22 of file wps_upnp.h.


Function Documentation

upnp_wps_device_deinit - Deinitialize WPS UPnP : WPS UPnP state machine from upnp_wps_device_init()

Definition at line 1022 of file wps_upnp.c.

struct upnp_wps_device_sm* upnp_wps_device_init ( struct upnp_wps_device_ctx ctx,
struct wps_context wps,
void *  priv 
) [read]

upnp_wps_device_init - Initialize WPS UPnP : callback table; we must eventually free it : Pointer to longterm WPS context : External context data that will be used in callbacks Returns: WPS UPnP state or NULL on failure

Definition at line 1047 of file wps_upnp.c.

int upnp_wps_device_send_wlan_event ( struct upnp_wps_device_sm sm,
const u8  from_mac_addr[ETH_ALEN],
enum upnp_wps_wlanevent_type  ev_type,
const struct wpabuf msg 
)

upnp_wps_device_send_wlan_event - Event notification : WPS UPnP state machine from upnp_wps_device_init() : Source (Enrollee) MAC address for the event : Event type : Event data Returns: 0 on success, -1 on failure

Tell external Registrars (UPnP control points) that something happened. In particular, events include WPS messages from clients that are proxied to external Registrars.

Definition at line 745 of file wps_upnp.c.

int upnp_wps_device_start ( struct upnp_wps_device_sm sm,
char *  net_if 
)

upnp_wps_device_start - Start WPS UPnP operations on an interface : WPS UPnP state machine from upnp_wps_device_init() : Selected network interface name Returns: 0 on success, -1 on failure

Definition at line 963 of file wps_upnp.c.

upnp_wps_device_stop - Stop WPS UPnP operations on an interface : WPS UPnP state machine from upnp_wps_device_init()

Definition at line 931 of file wps_upnp.c.

upnp_wps_subscribers - Check whether there are any event subscribers : WPS UPnP state machine from upnp_wps_device_init() Returns: 0 if no subscribers, 1 if subscribers

Definition at line 1073 of file wps_upnp.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:19