USRP Hardware Driver and USRP Manual  Version: 4.0.0.0-172-g5802a362f
UHD and USRP Manual
uhd::transport Namespace Reference

Namespaces

 vrt
 

Classes

class  bounded_buffer
 
class  bounded_buffer_detail
 
class  buffer_pool
 
class  frame_buff
 
struct  if_addrs_t
 
class  managed_buffer
 Simple managed buffer with release interface. More...
 
class  managed_recv_buffer
 
class  managed_send_buffer
 
class  muxed_zero_copy_if
 
struct  tcp_zero_copy
 
class  udp_simple
 
class  udp_zero_copy
 
class  usb_control
 
class  usb_device_handle
 
class  usb_zero_copy
 
class  zero_copy_flow_ctrl
 
class  zero_copy_if
 
struct  zero_copy_xport_params
 

Typedefs

using adapter_id_t = size_t
 Host transport adapter ID. More...
 
typedef std::function< bool(managed_buffer::sptr buff)> flow_ctrl_func
 

Functions

UHD_API std::vector< if_addrs_tget_if_addrs (void)
 
UHD_INLINE void intrusive_ptr_add_ref (managed_buffer *p)
 
UHD_INLINE void intrusive_ptr_release (managed_buffer *p)
 

Typedef Documentation

◆ adapter_id_t

using uhd::transport::adapter_id_t = typedef size_t

Host transport adapter ID.

◆ flow_ctrl_func

typedef std::function<bool(managed_buffer::sptr buff)> uhd::transport::flow_ctrl_func

Flow control function.

Parameters
buffbuffer to be sent or receive buffer being released
Returns
true if OK, false if not

Function Documentation

◆ get_if_addrs()

UHD_API std::vector<if_addrs_t> uhd::transport::get_if_addrs ( void  )

Get a list of network interface addresses. The internal implementation is system-dependent.

Returns
a vector of if addrs

◆ intrusive_ptr_add_ref()

UHD_INLINE void uhd::transport::intrusive_ptr_add_ref ( managed_buffer p)

◆ intrusive_ptr_release()

UHD_INLINE void uhd::transport::intrusive_ptr_release ( managed_buffer p)