diff options
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/tuntap_pdu.h')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/tuntap_pdu.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h b/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h index a34bab0d83..cda9b586c0 100644 --- a/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h @@ -27,28 +27,28 @@ #include <gnuradio/block.h> namespace gr { - namespace blocks { +namespace blocks { + +/*! + * \brief Creates TUNTAP interface and translates traffic to PDUs + * \ingroup networking_tools_blk + */ +class BLOCKS_API tuntap_pdu : virtual public block +{ +public: + // gr::blocks::tuntap_pdu::sptr + typedef boost::shared_ptr<tuntap_pdu> sptr; /*! - * \brief Creates TUNTAP interface and translates traffic to PDUs - * \ingroup networking_tools_blk + * \brief Construct a TUNTAP PDU interface + * \param dev Device name to create + * \param MTU Maximum Transmission Unit size + * \param istunflag Flag to indicate TUN or Tap */ - class BLOCKS_API tuntap_pdu : virtual public block - { - public: - // gr::blocks::tuntap_pdu::sptr - typedef boost::shared_ptr<tuntap_pdu> sptr; - - /*! - * \brief Construct a TUNTAP PDU interface - * \param dev Device name to create - * \param MTU Maximum Transmission Unit size - * \param istunflag Flag to indicate TUN or Tap - */ - static sptr make(std::string dev, int MTU=10000, bool istunflag=false); - }; + static sptr make(std::string dev, int MTU = 10000, bool istunflag = false); +}; - } /* namespace blocks */ +} /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_BLOCKS_TUNTAP_PDU_H */ |