summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/udp_source_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* blocks: remove deprecated network blocksJosh Morman2021-04-211-200/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* removed ssize_t, which is not standard C, and we're a C++ projectMarcus Müller2021-02-231-4/+5
| | | | | | Co-authored-by: Josh Morman <jmorman@perspectalabs.com> Signed-off-by: Josh Morman <jmorman@perspectalabs.com> Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Removing unused <cerrno> (and includes found on the way)Marcus Müller2021-01-281-3/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* C++14: Use std::make_unique instead of boost::make_uniqueMarcus Müller2021-01-041-2/+2
| | | | | | Also, clean up includes Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* Replace all calls to `get_initial_sptr` with `make_block_sptr`Thomas Habets2020-07-301-2/+2
| | | | | | | | | | | | | | First batch of changes: ``` find […] -print0 | xargs -0 sed -i -r '/get_initial_sptr/{:nxt N;/;/!b nxt;s/get_initial_sptr\(\s*new ([^(]+)(.*)\)\)/make_block_sptr<\1>\2)/}' ``` Then: * Back out `sptr_magic.h` edits * Change some `friend` clauses * clang-format the whole thing * Update checksums in the pybind11 bindings files
* gr-blocks: Remove warnings.Ron Economos2020-04-081-3/+3
|
* blocks/udp_source: Switch to smart pointers for socketThomas Habets2020-03-271-2/+3
|
* blocks/udp_source: Remove manual memory management for buffersThomas Habets2020-03-271-11/+8
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* clang-tidy in gnuradio-runtime: use empty() instead of size()!=0Marcus Müller2019-08-221-1/+1
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-141/+136
|
* Fix for misc. documentation + trivial typosluz.paz2019-07-171-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
* Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-1/+1
|
* Merge branch 'maint'Johnathan Corgan2016-05-301-3/+0
|\ | | | | | | | | Conflicts: CMakeLists.txt
| * MSVC-specific fixes for compatibilitygnieboer2016-05-301-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed dtv_viterbi_decoder to use __GR_ATTR_ALIGNED macro for cross-compiler compatibility * Replace usleep() with boost equivalent for cross-compiler compatibility * Includes windows-specific headers for portaudio * Added macro to handle use of VLAs on non-C99 compilers (MSVC) using alloca to declare variable length arrays * Remove setting SO_LINGER option for the UDP source. SO_LINGER is not an applicable option for a UDP socket. Windows will throw an exception if set. Linux allows it to be set but does not use it. * VS 2013+ supports round()
* | Merge remote-tracking branch 'mmueller/udp_source_add_payload_buffer_gr_pref'Johnathan Corgan2016-04-251-1/+3
|\ \ | |/ |/|
| * added a gr-preferences getterMarcus Müller2016-04-141-1/+3
| |
* | udp sink: actually send 0-byte packets at EOFAndy Sloane2016-04-251-1/+1
|/ | | | Adjusted udp source to expect a 0-byte packet at EOF too.
* blocks: Fixed UDP source bugMartin Braun2015-03-131-11/+14
| | | | | | | Before, it would actually read too few bytes from the incoming buffer. Also removed some 'magic' constants and replaced by const variables.
* blocks: UDP source does not enforce IPv4 anny moreJiří Pinkava2014-11-171-2/+1
|
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-1/+1
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* blocks: updated UDP source to handle no network connections by allowing use ↵Tom Rondeau2013-11-161-3/+6
| | | | | | of loopback device. Also fixed an infrequent problem on shutdown before the thread exited. Updated QA code to verify ports used will not clash.
* Merge branch 'master' into nextJohnathan Corgan2013-05-221-1/+3
|\
| * udp: fix udp_source to avoid permanent work blockageJosh Blum2013-05-221-1/+3
| |
* | runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-5/+5
| |
* | gruel: moved gruel into subdirs of gnuradio-runtime.Tom Rondeau2013-04-011-4/+4
|/ | | | PMTs are handled slightly different and are installed into their own module and include dir.
* blocks: fixing some UDP handling of ports/options; using gr-blocks blocks in QA.Tom Rondeau2013-03-131-4/+20
|
* docs: fixes for doxygen warnings (and a simple build warning).Tom Rondeau2013-03-131-1/+1
|
* blocks: actually adding the udp_source blocks.Tom Rondeau2013-03-131-0/+199