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

/*
 * =c
 * UnstripIPHeader()
 * =s ip
 * restores outermost IP header
 * =d
 *
 * Put outermost IP header back onto a stripped packet, based on the IP Header
 * annotation from MarkIPHeader or CheckIPHeader. If IP header already on,
 * forwards packet unmodified.
 *
 * =a CheckIPHeader, MarkIPHeader, StripIPHeader */

class UnstripIPHeader : public Element { public:

  UnstripIPHeader();
  ~UnstripIPHeader();

  const char *class_name() const		{ return "UnstripIPHeader"; }
  const char *port_count() const		{ return PORTS_1_1; }

  Packet *simple_action(Packet *);

};

CLICK_ENDDECLS
#endif
