UDP_SOURCE_NAME
gr::sync_block
baz_udp_source.h
size_t size_t UDP_SOURCE_NAME::d_itemsize d_itemsize UDP_SOURCE_NAME::d_itemsize
int int UDP_SOURCE_NAME::d_payload_size d_payload_size UDP_SOURCE_NAME::d_payload_size
bool bool UDP_SOURCE_NAME::d_eof d_eof UDP_SOURCE_NAME::d_eof
bool bool UDP_SOURCE_NAME::d_wait d_wait UDP_SOURCE_NAME::d_wait
int int UDP_SOURCE_NAME::d_socket d_socket UDP_SOURCE_NAME::d_socket
char * char* UDP_SOURCE_NAME::d_temp_buff d_temp_buff UDP_SOURCE_NAME::d_temp_buff
ssize_t ssize_t UDP_SOURCE_NAME::d_residual d_residual UDP_SOURCE_NAME::d_residual
size_t size_t UDP_SOURCE_NAME::d_temp_offset d_temp_offset UDP_SOURCE_NAME::d_temp_offset
bool bool UDP_SOURCE_NAME::d_bor d_bor UDP_SOURCE_NAME::d_bor
unsigned long unsigned long UDP_SOURCE_NAME::d_bor_counter d_bor_counter UDP_SOURCE_NAME::d_bor_counter
bool bool UDP_SOURCE_NAME::d_bor_first d_bor_first UDP_SOURCE_NAME::d_bor_first
bool bool UDP_SOURCE_NAME::d_verbose d_verbose UDP_SOURCE_NAME::d_verbose
bool bool UDP_SOURCE_NAME::d_eos d_eos UDP_SOURCE_NAME::d_eos
UDPProtocol UDPProtocol UDP_SOURCE_NAME::d_mode d_mode UDP_SOURCE_NAME::d_mode
BAZ_API UDP_SOURCE_SPTR BAZ_API UDP_SOURCE_SPTR UDP_SOURCE_MAKER (size_t itemsize, const char *host, unsigned short port, int payload_size, bool eof, bool wait, bool bor, bool verbose, size_t buf_size, int mode) UDP_SOURCE_MAKER UDP_SOURCE_NAME::UDP_SOURCE_MAKER size_t itemsize const char * host unsigned short port int payload_size bool eof bool wait bool bor bool verbose size_t buf_size int mode
UDP_SOURCE_NAME::UDP_SOURCE_NAME
(size_t itemsize, const char *host, unsigned short port, int payload_size, bool eof, bool wait, bool bor, bool verbose, size_t buf_size, int mode)
UDP_SOURCE_NAME
UDP_SOURCE_NAME::UDP_SOURCE_NAME
size_t itemsize
const char * host
unsigned short port
int payload_size
bool eof
bool wait
bool bor
bool verbose
size_t buf_size
int mode

UDP Source Constructor.

itemsize

The size (in bytes) of the item datatype

host

The name or IP address of the receiving host; can be NULL, None, or "0.0.0.0" to allow reading from any interface on the host

port

The port number on which to receive data; use 0 to have the system assign an unused port number

payload_size

UDP payload size by default set to 1472 = (1500 MTU - (8 byte UDP header) - (20 byte IP header))

eof

Interpret zero-length packet as EOF (default: true)

wait

Wait for data if not immediately available (default: true)

bor

Enable BorIP encapsulation

verbose

Output BorIP packet debug messages (helpful to judge packet loss)

UDP_SOURCE_NAME::~UDP_SOURCE_NAME
()
~UDP_SOURCE_NAME
UDP_SOURCE_NAME::~UDP_SOURCE_NAME
int int UDP_SOURCE_NAME::payload_size () payload_size UDP_SOURCE_NAME::payload_size

return the PAYLOAD_SIZE of the socket

int int UDP_SOURCE_NAME::get_port () get_port UDP_SOURCE_NAME::get_port

return the port number of the socket

void void UDP_SOURCE_NAME::signal_eos () signal_eos UDP_SOURCE_NAME::signal_eos
int int UDP_SOURCE_NAME::work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) work UDP_SOURCE_NAME::work int noutput_items gr_vector_const_void_star & input_items gr_vector_void_star & output_items

Read stream from an UDP socket.

itemsize

The size (in bytes) of the item datatype

host

The name or IP address of the receiving host; can be NULL, None, or "0.0.0.0" to allow reading from any interface on the host

port

The port number on which to receive data; use 0 to have the system assign an unused port number

payload_size

UDP payload size by default set to 1472 = (1500 MTU - (8 byte UDP header) - (20 byte IP header))

eof

Interpret zero-length packet as EOF (default: true)

wait

Wait for data if not immediately available (default: true)

UDP_SOURCE_NAME
gr::sync_block
UDP_SOURCE_NAME
gr::sync_block
- UDP_SOURCE_NAME
  d_bor
- UDP_SOURCE_NAME
  d_bor_counter
- UDP_SOURCE_NAME
  d_bor_first
- UDP_SOURCE_NAME
  d_eof
- UDP_SOURCE_NAME
  d_eos
- UDP_SOURCE_NAME
  d_itemsize
- UDP_SOURCE_NAME
  d_mode
- UDP_SOURCE_NAME
  d_payload_size
- UDP_SOURCE_NAME
  d_residual
- UDP_SOURCE_NAME
  d_socket
- UDP_SOURCE_NAME
  d_temp_buff
- UDP_SOURCE_NAME
  d_temp_offset
- UDP_SOURCE_NAME
  d_verbose
- UDP_SOURCE_NAME
  d_wait
- UDP_SOURCE_NAME
  get_port
- UDP_SOURCE_NAME
  payload_size
- UDP_SOURCE_NAME
  signal_eos
- UDP_SOURCE_NAME
  UDP_SOURCE_MAKER
- UDP_SOURCE_NAME
  UDP_SOURCE_NAME
- UDP_SOURCE_NAME
  work
- UDP_SOURCE_NAME
  ~UDP_SOURCE_NAME