UPnP for WPS / internal definitions Copyright (c) 2006-2007 Sony Corporation Copyright (c) 2008-2009 Atheros Communications Copyright (c) 2009, Jouni Malinen j@w1..nosp@m.fi
More...
|
|
#define | UPNP_MULTICAST_ADDRESS "239.255.255.250" /* for UPnP multicasting */ |
| |
|
#define | UPNP_MULTICAST_PORT 1900 /* UDP port to monitor for UPnP */ |
| |
|
#define | UPNP_SUBSCRIBE_SEC_MIN 1800 |
| |
|
#define | UPNP_SUBSCRIBE_SEC (UPNP_SUBSCRIBE_SEC_MIN + 1) |
| |
|
#define | UPNP_WPS_DEVICE_XML_FILE "wps_device.xml" |
| |
|
#define | UPNP_WPS_SCPD_XML_FILE "wps_scpd.xml" |
| |
|
#define | UPNP_WPS_DEVICE_CONTROL_FILE "wps_control" |
| |
|
#define | UPNP_WPS_DEVICE_EVENT_FILE "wps_event" |
| |
|
#define | MULTICAST_MAX_READ 1600 /* max bytes we'll read for UPD request */ |
| |
|
|
void | format_date (struct wpabuf *buf) |
| |
| struct subscription * | subscription_start (struct upnp_wps_device_sm *sm, const char *callback_urls) |
| | Remember a UPnP control point to send events to. More...
|
| |
|
struct subscription * | subscription_renew (struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) |
| |
|
void | subscription_destroy (struct subscription *s) |
| |
|
struct subscription * | subscription_find (struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) |
| |
|
void | subscr_addr_delete (struct subscr_addr *a) |
| |
| int | get_netif_info (const char *net_if, unsigned *ip_addr, char **ip_addr_text, u8 mac[ETH_ALEN]) |
| | Get hw and IP addresses for network device. More...
|
| |
| void | msearchreply_state_machine_stop (struct advertisement_state_machine *a) |
| | Stop M-SEARCH reply state machine. More...
|
| |
| int | advertisement_state_machine_start (struct upnp_wps_device_sm *sm) |
| | Start SSDP advertisements. More...
|
| |
| void | advertisement_state_machine_stop (struct upnp_wps_device_sm *sm, int send_byebye) |
| | Stop SSDP advertisements. More...
|
| |
| void | ssdp_listener_stop (struct upnp_wps_device_sm *sm) |
| | Stop SSDP listered. More...
|
| |
| int | ssdp_listener_start (struct upnp_wps_device_sm *sm) |
| | Set up for receiving discovery (UDP) packets. More...
|
| |
|
int | ssdp_listener_open (void) |
| |
| int | add_ssdp_network (const char *net_if) |
| | Add routing entry for SSDP. More...
|
| |
|
int | ssdp_open_multicast_sock (u32 ip_addr, const char *forced_ifname) |
| |
| int | ssdp_open_multicast (struct upnp_wps_device_sm *sm) |
| | Open socket for sending multicast SSDP messages. More...
|
| |
|
int | web_listener_start (struct upnp_wps_device_sm *sm) |
| |
|
void | web_listener_stop (struct upnp_wps_device_sm *sm) |
| |
| int | event_add (struct subscription *s, const struct wpabuf *data, int probereq) |
| | Add a new event to a queue. More...
|
| |
|
void | event_delete_all (struct subscription *s) |
| |
|
void | event_send_all_later (struct upnp_wps_device_sm *sm) |
| |
|
void | event_send_stop_all (struct upnp_wps_device_sm *sm) |
| |
|
int | upnp_er_set_selected_registrar (struct wps_registrar *reg, struct subscription *s, const struct wpabuf *msg) |
| |
|
void | upnp_er_remove_notification (struct wps_registrar *reg, struct subscription *s) |
| |
UPnP for WPS / internal definitions Copyright (c) 2006-2007 Sony Corporation Copyright (c) 2008-2009 Atheros Communications Copyright (c) 2009, Jouni Malinen j@w1..nosp@m.fi
See wps_upnp.c for more details on licensing and code history.