2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
15 \brief EmulatedWirelessInterface internal header */
17 #ifndef IH_SENF_Ext_NetEmu_EmulatedWirelessInterface_
18 #define IH_SENF_Ext_NetEmu_EmulatedWirelessInterface_ 1
23 //-/////////////////////////////////////////////////////////////////////////////////////////////////
29 class EmulatedWirelessInterfaceTransmitFilter
30 : public ppi::module::Module
32 SENF_PPI_MODULE(EmulatedWirelessInterfaceTransmitFilter);
34 ppi::connector::PassiveInput<> input;
35 ppi::connector::ActiveOutput<EmulatedWirelessPacketHeader> output;
37 EmulatedWirelessInterfaceTransmitFilter(EmulatedWirelessTransmitter & iface);
42 EmulatedWirelessTransmitter & iface_;
45 class EmulatedWirelessInterfaceReceiveFilter
46 : public ppi::module::Module
48 SENF_PPI_MODULE(EmulatedWirelessInterfaceReceiveFilter);
50 ppi::connector::PassiveInput<EmulatedWirelessPacketHeader> input;
51 ppi::connector::ActiveOutput<> output;
53 EmulatedWirelessInterfaceReceiveFilter(EmulatedWirelessReceiver & iface);
58 EmulatedWirelessReceiver & iface_;
63 //-/////////////////////////////////////////////////////////////////////////////////////////////////
71 // c-file-style: "senf"
72 // indent-tabs-mode: nil
73 // ispell-local-dictionary: "american"
74 // compile-command: "scons -u test"