scc 2026.07
SystemC components library
eth Namespace Reference

ETH TLM utilities. More...

Classes

struct  ethernet_header
struct  vlan_tag_8021Q
struct  ethernet_frame
struct  eth_packet_payload
struct  eth_packet_types
struct  eth_channel

Typedefs

template<int N = 1>
using eth_pkt_initiator_socket = tlm::nw::tlm_network_initiator_socket<1, ETH, eth_packet_types, N>
template<int N = 1>
using eth_pkt_target_socket = tlm::nw::tlm_network_target_socket<1, ETH, eth_packet_types, N>
using eth_pkt_shared_ptr = tlm::scc::tlm_payload_shared_ptr<eth_packet_payload>
using eth_pkt_mm = tlm::scc::tlm_mm<eth_packet_types, false>

Enumerations

enum class  ether_kind { ETHER_TYPE , LENGTH_8023 }
enum class  ETH { FRAME }

Functions

std::uint16_t bswap16 (std::uint16_t x)

Detailed Description

ETH TLM utilities.

Typedef Documentation

◆ eth_pkt_initiator_socket

template<int N = 1>
using eth::eth_pkt_initiator_socket = tlm::nw::tlm_network_initiator_socket<1, ETH, eth_packet_types, N>

Definition at line 116 of file eth_tlm.h.

◆ eth_pkt_mm

using eth::eth_pkt_mm = tlm::scc::tlm_mm<eth_packet_types, false>

Definition at line 119 of file eth_tlm.h.

◆ eth_pkt_shared_ptr

using eth::eth_pkt_shared_ptr = tlm::scc::tlm_payload_shared_ptr<eth_packet_payload>

Definition at line 118 of file eth_tlm.h.

◆ eth_pkt_target_socket

template<int N = 1>
using eth::eth_pkt_target_socket = tlm::nw::tlm_network_target_socket<1, ETH, eth_packet_types, N>

Definition at line 117 of file eth_tlm.h.

Enumeration Type Documentation

◆ ETH

enum class eth::ETH
strong

Definition at line 74 of file eth_tlm.h.

◆ ether_kind

enum class eth::ether_kind
strong

Definition at line 55 of file eth_tlm.h.

Function Documentation

◆ bswap16()

std::uint16_t eth::bswap16 ( std::uint16_t x)
inline

Definition at line 37 of file eth_tlm.h.