Annotation of nono/host/netdriver_tap.h, revision 1.1

1.1     ! root        1: //
        !             2: // nono
        !             3: // Copyright (C) 2019 [email protected]
        !             4: //
        !             5: 
        !             6: #pragma once
        !             7: 
        !             8: #include "netdriver.h"
        !             9: 
        !            10: class NetDriverTap : public NetDriver
        !            11: {
        !            12:        typedef NetDriver inherited;
        !            13:  public:
        !            14:        // コンストラクタ
        !            15:        NetDriverTap(EthernetDevice *p,
        !            16:                std::mutex *m, std::condition_variable *c);
        !            17:        // デストラクタ
        !            18:        virtual ~NetDriverTap();
        !            19: 
        !            20:        virtual bool Init();
        !            21:        virtual bool SendPacket(const std::vector<uint8>& data);
        !            22:        virtual void ThreadRun();
        !            23: 
        !            24:  private:
        !            25:        virtual void Close();
        !            26: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.