PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
in_memory_ethernet.h File Reference

Thread-safe in-memory Layer-2 Ethernet switch for PROFINET simulation. More...

#include <chrono>
#include <condition_variable>
#include <cstdint>
#include <deque>
#include <memory>
#include <mutex>
#include <vector>
#include "profinet/IRawEthernetSocket.h"
#include "profinet/util.h"
+ Include dependency graph for in_memory_ethernet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  profinet::sim::InMemoryEthernetSocket
 Injectable raw-Ethernet endpoint attached to an in-memory bus. More...
 
class  profinet::sim::InMemoryEthernetBus
 Small virtual Ethernet switch suitable for deterministic tests and demos. More...
 

Namespaces

namespace  profinet
 
namespace  profinet::sim
 

Detailed Description

Thread-safe in-memory Layer-2 Ethernet switch for PROFINET simulation.

The transport deliberately knows only Ethernet source and destination MAC addresses. EtherTypes, VLAN tags, PROFINET RTC1 frames, RTA frames and any future protocol extensions remain opaque bytes to the switch.

Definition in file in_memory_ethernet.h.