mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
2d43d37ff2
Some applications require knowing about probe requests to identify devices. This can be the case in AP mode to see the devices before they connect, or even in P2P mode when operating as a P2P device to identify non-P2P peers (P2P peers are identified via PeerFound signals). As there are typically a lot of probe requests, require that an interested application subscribes to this signal so the bus isn't always flooded with these notifications. The notifications in DBus are then unicast only to that application. A small test script is also included. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
35 lines
961 B
C
35 lines
961 B
C
/*
|
|
* wpa_supplicant D-Bus control interface - internal definitions
|
|
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
|
|
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
|
|
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*/
|
|
|
|
#ifndef DBUS_COMMON_I_H
|
|
#define DBUS_COMMON_I_H
|
|
|
|
#include <dbus/dbus.h>
|
|
|
|
struct wpas_dbus_priv {
|
|
DBusConnection *con;
|
|
int should_dispatch;
|
|
struct wpa_global *global;
|
|
u32 next_objid;
|
|
int dbus_new_initialized;
|
|
|
|
#if defined(CONFIG_CTRL_IFACE_DBUS_NEW) && defined(CONFIG_AP)
|
|
int dbus_noc_refcnt;
|
|
#endif /* CONFIG_CTRL_IFACE_DBUS_NEW && CONFIG_AP */
|
|
};
|
|
|
|
#endif /* DBUS_COMMON_I_H */
|