![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Public Types | |
| enum | type_t { NONE , USE_SOCK , RECOMPRESS } |
Public Member Functions | |
| replica (const char *addr, uint16_t rx_port, uint16_t tx_port, int bufsize, struct module *parent, int force_ip_version) | |
| ~replica () | |
Public Attributes | |
| const char * | host |
| string | host |
| int | m_tx_port |
| uint32_t | magic |
| struct module | mod |
| unsigned short | port |
| int | sock |
| std::shared_ptr< socket_udp > | sock |
| sockaddr_storage | sockaddr |
| socklen_t | sockaddr_len |
| enum type_t | type |
| enum replica::type_t |
| Enumerator | |
|---|---|
| NONE | |
| USE_SOCK | |
| RECOMPRESS | |
Definition at line 136 of file hd-rum-translator.cpp.
|
inline |
Definition at line 104 of file hd-rum-translator.cpp.
References module::cls, format_in_si_units(), get_replica_mod_name(), host, m_tx_port, magic, mod, mode, MODULE_CLASS_PORT, module_init_default(), module_register(), module::name, parent, module::priv_data, REPLICA_MAGIC, resolve_addrinfo(), sock, sockaddr, sockaddr_len, type, udp_exit(), udp_init(), and udp_set_send_buf().
Referenced by create_output_port().

|
inline |
Definition at line 126 of file hd-rum-translator.cpp.
References magic, mod, module_done(), and REPLICA_MAGIC.

| const char* replica::host |
| string replica::host |
Definition at line 133 of file hd-rum-translator.cpp.
| int replica::m_tx_port |
Definition at line 134 of file hd-rum-translator.cpp.
Referenced by replica().
| uint32_t replica::magic |
Definition at line 132 of file hd-rum-translator.cpp.
Referenced by replica(), and ~replica().
| struct module replica::mod |
Definition at line 131 of file hd-rum-translator.cpp.
Referenced by replica(), ~replica(), change_replica_type(), and create_output_port().
| int replica::sock |
Definition at line 23 of file hd-rum.c.
Referenced by replica(), create_output_port(), and main().
| std::shared_ptr<socket_udp> replica::sock |
Definition at line 142 of file hd-rum-translator.cpp.
| sockaddr_storage replica::sockaddr |
Definition at line 143 of file hd-rum-translator.cpp.
Referenced by replica().
| socklen_t replica::sockaddr_len |
Definition at line 144 of file hd-rum-translator.cpp.
Referenced by replica().
| enum type_t replica::type |
Definition at line 141 of file hd-rum-translator.cpp.
Referenced by replica(), change_replica_type(), and create_output_port().