#ifndef LINKTESTRECEIVER_HH
#define LINKTESTRECEIVER_HH

/*
 * =c
 * LinkTestReceiver([AiroInfo])
 * =s Grid
 *
 * =d
 *
 * Expects packets sent by LinkTester as input.  Print packet header
 * contents.  If the optional AiroInfo element argument is suplied,
 * queries card for and prints signal and noise information for each
 * packet.
 *
 * =a AiroInfo, LinkTester */

#include <click/element.hh>
CLICK_DECLS

class AiroInfo;

class LinkTestReceiver : public Element {

public:
  LinkTestReceiver();
  ~LinkTestReceiver();

  const char *class_name() const { return "LinkTestReceiver"; }
  const char *port_count() const { return PORTS_1_1; }
  const char *processing() const { return AGNOSTIC; }

  int configure(Vector<String> &, ErrorHandler *);
  int initialize(ErrorHandler *);

  Packet *simple_action(Packet *);

private:
  AiroInfo *_ai;
};

CLICK_ENDDECLS
#endif


syntax highlighted by Code2HTML, v. 0.9.1