#ifndef CHECKPATTERN_HH
#define CHECKPATTERN_HH
#include <click/element.hh>
CLICK_DECLS

/*
 * CheckPattern(len)
 *
 * Check the packets generated by SendPattern(n)
 */

class CheckPattern : public Element {
  
  unsigned _len;
  
 public:
  
  CheckPattern();
  ~CheckPattern();
  
  const char *class_name() const	{ return "CheckPattern"; }
  const char *port_count() const	{ return PORTS_1_1; }
  const char *processing() const	{ return AGNOSTIC; }
  
  int configure(Vector<String> &, ErrorHandler *);
  
  Packet *simple_action(Packet *);
  
};

CLICK_ENDDECLS
#endif


syntax highlighted by Code2HTML, v. 0.9.1