aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_common.hpp
Commit message (Collapse)AuthorAgeFilesLines
* lib: transport: apply clang-formatBrent Stapleton2019-01-181-40/+41
| | | | | | | | | | This is a continuation of 967be2a4. $ find host/lib/transport -iname *.hpp -o -iname *.cpp |\ xargs clang-format -i -style=file Skipping host/lib/transport/nirio/ because of build errors. $ git checkout host/lib/transport/nirio
* X300: Change Ethernet bufferingMichael West2018-07-251-2/+7
| | | | | | | Ethernet buffering is now done so that most of the buffering is done in the socket buffers and multiple frames are only used to support the receive side offload of the socket I/O. Eliminates dropped packets at high full duplex rates.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* Merge branch 'maint'Martin Braun2017-03-241-0/+3
|\
| * UDP: Set default socket buffer size to number of frames * 9000 (maximum ↵michael-west2017-03-211-0/+3
| | | | | | | | Ethernet MTU)
* | UDP transport: Utilize poll instead of selectPaul David2017-02-131-0/+12
|/ | | | | | - Avoids the descriptor limit of 1024 on FD_SETSIZE - Fixes a buffer overflow due to that limit - Keeps select around for Windows compatibility
* uhd: make use of TEMP_FAILURE_RETRY when select()Josh Blum2011-12-141-1/+8
|
* udp: try non-blocking recv first for performanceJosh Blum2011-02-201-1/+3
|
* udp: update docs for transport, create common header for wait implementationJosh Blum2011-02-201-0/+51
Reimplemented simple udp transport with one impl class. Moved wait for ready/select implementation into common header. Important note on select, timeval should have usecs < 1 second or it may error on some platforms. Fixed in this implementation.