<feed xmlns='http://www.w3.org/2005/Atom'>
<title>paraslash/net.h, branch master</title>
<subtitle>paraslash - network audio streaming tools</subtitle>
<id>https://git.tue.mpg.de/cgit/paraslash/atom?h=master</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/paraslash/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/'/>
<updated>2026-04-11T17:46:18Z</updated>
<entry>
<title>Move generic_max_transport_msg_size() into udp_send.c.</title>
<updated>2026-04-11T17:46:18Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-04-08T23:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=116c297f458d47a57fa382c4e0771a39b6fb01c6'/>
<id>urn:sha1:116c297f458d47a57fa382c4e0771a39b6fb01c6</id>
<content type='text'>
Thanks to the previous patch, the function is only called from udp_send.c,
so move it there, along with its dependencies in net.c. To accomplish this,
we have to make ss_is_addr_v4mapped() public. Since it is very small, it's
easiest to move it to net.h as a static inline function.
</content>
</entry>
<entry>
<title>Switch to SPDX identifiers.</title>
<updated>2026-03-17T22:45:43Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-03-15T14:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=ea0cecf96e08c489fdcc94d046019f4ce46f58e2'/>
<id>urn:sha1:ea0cecf96e08c489fdcc94d046019f4ce46f58e2</id>
<content type='text'>
Generated with

	sed -i 's|Copyright.*Andre Noll.*|SPDX-License-Identifier: GPL-2.0 */|g' *.c *.h

followed by manually tweaking the result a bit. No license change intended.
</content>
</entry>
<entry>
<title>Move format_url() from net.c to http_send.c.</title>
<updated>2026-01-26T22:16:18Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2025-09-18T19:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=2735ca56c3b1177fec6f0ab167cf4b82baf185da'/>
<id>urn:sha1:2735ca56c3b1177fec6f0ab167cf4b82baf185da</id>
<content type='text'>
It's only needed there.
</content>
</entry>
<entry>
<title>Remove dccp.</title>
<updated>2026-01-26T22:16:18Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-01-20T20:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=130196c60a8e15ea6cc2cd374047ff868276778f'/>
<id>urn:sha1:130196c60a8e15ea6cc2cd374047ff868276778f</id>
<content type='text'>
This removes all traces of dccp, specifically dccp_recv.c and dccp_send.c.
The flowops related functions of net.c can go away as well, as flowops were
only needed for the dccp transport. A few other functions are simplified by
dropping the flowops or protocol parameter.

Further cleanups are possible, but are deferred to subsequent commits. In
particular, some functions of send_common.c are only called by the http
transport now. These can be moved to http_send.c and then be made static.
</content>
</entry>
<entry>
<title>Make send_cred_buffer() and recv_cred_buffer() local.</title>
<updated>2026-01-04T21:20:54Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2025-11-03T17:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=3df3c8880f06dc4058a4c58c291892835ca8eb06'/>
<id>urn:sha1:3df3c8880f06dc4058a4c58c291892835ca8eb06</id>
<content type='text'>
Only para_audioc needs the former, and only para_audiod needs the latter.
With this patch in place, both functions can be static and the other
executables which link in net.o don't get bloated with unnecessary code.
</content>
</entry>
<entry>
<title>Compile with -Wsuggest-attribute=malloc.</title>
<updated>2023-12-24T21:37:00Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2023-05-30T22:11:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=914ee19c1fd21834fe5f81260daafe76a4475290'/>
<id>urn:sha1:914ee19c1fd21834fe5f81260daafe76a4475290</id>
<content type='text'>
We already employ this attribute extensively to help the compiler
improve optimization. However, a few malloc-like functions were not
yet marked with __malloc. Fix that and enable the warning to make
sure that new malloc-like functions get marked.

Since not all supported compilers know about this warning option, we
need to check at compile time whether the option is supported. Thanks
to the existing cc-option make(1) function, this is a simple one-liner
for Makefile.real.
</content>
</entry>
<entry>
<title>net: Pass true/false instead of 0/1 to makesock().</title>
<updated>2022-10-03T20:53:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2022-09-03T21:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=d7d3f53df792e6f49b1c7c46af9460a2dc0e44be'/>
<id>urn:sha1:d7d3f53df792e6f49b1c7c46af9460a2dc0e44be</id>
<content type='text'>
The function receives a boolean argument, after all.
</content>
</entry>
<entry>
<title>net: Rename para_connect_simple() -&gt; para_connect().</title>
<updated>2022-10-03T20:53:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2022-03-10T23:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=ac9cc8f21ddeb821134e657f509bb83cec8c1da4'/>
<id>urn:sha1:ac9cc8f21ddeb821134e657f509bb83cec8c1da4</id>
<content type='text'>
We used to have para_connect() at some point (hence the need for the
_simple suffix), but it was removed long ago.
</content>
</entry>
<entry>
<title>net: Make is_valid_ipv{4,6}_address() local to net.c.</title>
<updated>2022-10-03T20:53:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2022-03-10T22:59:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=db17b2883bd4f6d9e202388548f59f6867064027'/>
<id>urn:sha1:db17b2883bd4f6d9e202388548f59f6867064027</id>
<content type='text'>
These inline functions are only used in net.c, so they do not need
to be declared in net.h. De-doxyfy their documentation because static
functions don't need doxygen comments.
</content>
</entry>
<entry>
<title>net: Remove IPPROTO_DCCP define.</title>
<updated>2022-10-03T20:53:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2022-03-10T23:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=539d39f36549c10656d8b31f3dea32702e9649df'/>
<id>urn:sha1:539d39f36549c10656d8b31f3dea32702e9649df</id>
<content type='text'>
This macro is defined in the system headers on all moderately new
Linux versions, FreeBSD-13 and NetBSD-9, so our local fallback is
not needed anymore.
</content>
</entry>
</feed>
