EthernetInterface.hh
Go to the documentation of this file.
1 //
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
6 //
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
11 //
12 
13 
17 #ifndef HH_SENF_Ext_NetEmu_Ethernet_EthernetInterface_
18 #define HH_SENF_Ext_NetEmu_Ethernet_EthernetInterface_ 1
19 
20 // Custom includes
22 
23 //-/////////////////////////////////////////////////////////////////////////////////////////////////
24 
25 namespace senf {
26 namespace emu {
27 
30  {
31  public:
32  template <class Output, class Input>
33  EthernetInterface(Output & output, Input & input);
34 
35  protected:
36  void init();
37 
38  private:
39  virtual std::uint8_t v_linkTypeId() const;
40  };
41 
42 }}
43 
44 //-/////////////////////////////////////////////////////////////////////////////////////////////////
45 //#include "EthernetInterface.cci"
46 //#include "EthernetInterface.ct"
47 #include "EthernetInterface.cti"
48 #endif
49 
50 
51 // Local Variables:
52 // mode: c++
53 // fill-column: 100
54 // comment-column: 40
55 // c-file-style: "senf"
56 // indent-tabs-mode: nil
57 // ispell-local-dictionary: "american"
58 // compile-command: "scons -u test"
59 // End:
InterfaceAPIBase public header.
ppi::connector::PassiveInputJack< EthernetPacket > input
ppi::connector::ActiveOutputJack< EthernetPacket > output
EthernetInterface(Output &output, Input &input)