iapp.c File Reference

hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) More...

#include "includes.h"
#include <net/if.h>
#include <sys/ioctl.h>
#include <netpacket/packet.h>
#include "hostapd.h"
#include "config.h"
#include "ieee802_11.h"
#include "iapp.h"
#include "eloop.h"
#include "sta_info.h"
Include dependency graph for iapp.c:

Go to the source code of this file.

Data Structures

struct  iapp_hdr
struct  iapp_add_notify
struct  iapp_layer2_update
struct  iapp_move_notify
struct  iapp_move_response
struct  iapp_cache_notify
struct  iapp_cache_response
struct  iapp_send_security_block
struct  iapp_ack_security_block
struct  iapp_data

Defines

#define IAPP_MULTICAST   "224.0.1.178"
#define IAPP_UDP_PORT   3517
#define IAPP_TCP_PORT   3517
#define IAPP_VERSION   0

Enumerations

enum  IAPP_COMMAND {
  IAPP_CMD_ADD_notify = 0, IAPP_CMD_MOVE_notify = 1, IAPP_CMD_MOVE_response = 2, IAPP_CMD_Send_Security_Block = 3,
  IAPP_CMD_ACK_Security_Block = 4, IAPP_CMD_CACHE_notify = 5, IAPP_CMD_CACHE_response = 6
}
enum  { IAPP_MOVE_SUCCESSFUL = 0, IAPP_MOVE_DENIED = 1, IAPP_MOVE_STALE_MOVE = 2 }
enum  { IAPP_CACHE_SUCCESSFUL = 0, IAPP_CACHE_STALE_CACHE = 1 }

Functions

void iapp_new_station (struct iapp_data *iapp, struct sta_info *sta)
 IAPP processing for a new STA.
struct iapp_dataiapp_init (struct hostapd_data *hapd, const char *iface)
void iapp_deinit (struct iapp_data *iapp)
int iapp_reconfig (struct hostapd_data *hapd, struct hostapd_config *oldconf, struct hostapd_bss_config *oldbss)

Variables

struct iapp_hdr packed

Detailed Description

hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)

Copyright
Copyright (c) 2002-2007, 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.

Note: IEEE 802.11F-2003 was a experimental use specification. It has expired and IEEE has withdrawn it. In other words, it is likely better to look at using some other mechanism for AP-to-AP communication than extending the implementation here.

Definition in file iapp.c.


Function Documentation

void iapp_new_station ( struct iapp_data iapp,
struct sta_info sta 
)

IAPP processing for a new STA.

Parameters:
iapp IAPP data
sta The associated station

Definition at line 249 of file iapp.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:17:21 2009 for hostapd by  doxygen 1.6.1