41a42
> #include "config/use_tuntap.hh"
44a46,51
>
> #if USE_TUNTAP
> #include "params/EtherTap.hh"
>
> #endif
>
178a186,209
> #if USE_TUNTAP
> class EtherTap : public EtherTapBase
> {
> public:
> typedef EtherTapParams Params;
> EtherTap(const Params *p);
> ~EtherTap();
>
> const Params *
> params() const
> {
> return dynamic_cast<const Params *>(_params);
> }
>
>
> protected:
> int tap;
>
> void recvReal(int revent) override;
> bool sendReal(const void *data, size_t len) override;
> };
> #endif
>
>