Creates socket interface and translates traffic to PDUs.
Constructor Specific Documentation:
Construct a SOCKET PDU interface.
Parameters: |
|
---|
declare_sample_delay(socket_pdu_sptr self, unsigned int delay)
pc_input_buffers_full_avg(socket_pdu_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(socket_pdu_sptr self) -> pmt_vector_float
Creates TUNTAP interface and translates traffic to PDUs.
Constructor Specific Documentation:
Construct a TUNTAP PDU interface.
Parameters: |
|
---|
declare_sample_delay(tuntap_pdu_sptr self, unsigned int delay)
pc_input_buffers_full_avg(tuntap_pdu_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(tuntap_pdu_sptr self) -> pmt_vector_float
Write stream to an UDP socket.
Constructor Specific Documentation:
UDP Sink Constructor.
Parameters: |
|
---|
Change the connection to a new destination.
Calls disconnect() to terminate any current connection first.
declare_sample_delay(udp_sink_sptr self, unsigned int delay)
Send zero-length packet (if eof is requested) then stop sending.
Zero-byte packets can be interpreted as EOF by gr_udp_source. Note that disconnect occurs automatically when the sink is destroyed, but not when its top_block stops.
return the PAYLOAD_SIZE of the socket
pc_input_buffers_full_avg(udp_sink_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(udp_sink_sptr self) -> pmt_vector_float
Read stream from an UDP socket.
Constructor Specific Documentation:
UDP Source Constructor.
Parameters: |
|
---|
Change the connection to a new destination.
Calls disconnect() to terminate any current connection first.
declare_sample_delay(udp_source_sptr self, unsigned int delay)
Cut the connection if we have one set up.
return the port number of the socket
return the PAYLOAD_SIZE of the socket
pc_input_buffers_full_avg(udp_source_sptr self) -> pmt_vector_float
pc_output_buffers_full_avg(udp_source_sptr self) -> pmt_vector_float