<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/include/arpa, branch master</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/include/arpa?h=master</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/include/arpa?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2023-06-02T01:39:48Z</updated>
<entry>
<title>Fix all the remaining misspellings -- BZ 25337</title>
<updated>2023-06-02T01:39:48Z</updated>
<author>
<name>Paul Pluzhnikov</name>
<email>ppluzhnikov@google.com</email>
</author>
<published>2023-05-20T13:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=7f0d9e61f40c669fca3cfd1e342fa8236c7220b7'/>
<id>urn:sha1:7f0d9e61f40c669fca3cfd1e342fa8236c7220b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>resolv: Remove _STRING_ARCH_unaligned usage</title>
<updated>2023-02-17T18:56:54Z</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2023-02-10T14:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=62d4c768a4df59e4381464385b3a7246e6df6661'/>
<id>urn:sha1:62d4c768a4df59e4381464385b3a7246e6df6661</id>
<content type='text'>
GCC with default implementation already generates optimized code.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Wilco Dijkstra  &lt;Wilco.Dijkstra@arm.com&gt;
</content>
</entry>
<entry>
<title>resolv: Add DNS packet parsing helpers geared towards wire format</title>
<updated>2022-08-30T08:02:49Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2022-08-30T08:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=857c890d9b42c50c8a94b76d47d4a61ab6d2f49c'/>
<id>urn:sha1:857c890d9b42c50c8a94b76d47d4a61ab6d2f49c</id>
<content type='text'>
The public parser functions around the ns_rr record type produce
textual domain names, but usually, this is not what we need while
parsing DNS packets within glibc.  This commit adds two new helper
functions, __ns_rr_cursor_init and __ns_rr_cursor_next, for writing
packet parsers, and struct ns_rr_cursor, struct ns_rr_wire as
supporting types.

In theory, it is possible to avoid copying the owner name
into the rname field in __ns_rr_cursor_next, but this would need
more functions that work on compressed names.

Eventually, __res_context_send could be enhanced to preserve the
result of the packet parsing that is necessary for matching the
incoming UDP packets, so that this works does not have to be done
twice.

Reviewed-by: Siddhesh Poyarekar &lt;siddhesh@sourceware.org&gt;
</content>
</entry>
<entry>
<title>resolv: Add internal __ns_name_length_uncompressed function</title>
<updated>2022-08-30T08:02:49Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2022-08-30T08:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=78b1a4f0e49064e5dfb686c7cd87bd4df2640b29'/>
<id>urn:sha1:78b1a4f0e49064e5dfb686c7cd87bd4df2640b29</id>
<content type='text'>
This function is useful for checking that the question name is
uncompressed (as it should be).

Reviewed-by: Siddhesh Poyarekar &lt;siddhesh@sourceware.org&gt;
</content>
</entry>
<entry>
<title>resolv: Add the __ns_samebinaryname function</title>
<updated>2022-08-30T08:02:49Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2022-08-30T08:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=394085a34d25a51513019a4dc411acd3527fbd33'/>
<id>urn:sha1:394085a34d25a51513019a4dc411acd3527fbd33</id>
<content type='text'>
During packet parsing, only the binary name is available.  If the name
equality check is performed before conversion to text, we can sometimes
skip the last step.

Reviewed-by: Siddhesh Poyarekar &lt;siddhesh@sourceware.org&gt;
</content>
</entry>
<entry>
<title>resolv: Move ns_samename into its own file, and into libc</title>
<updated>2021-07-19T05:56:21Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2021-07-19T05:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=762a2b2d341a9d6a4ea088479616907c5b4e9a7b'/>
<id>urn:sha1:762a2b2d341a9d6a4ea088479616907c5b4e9a7b</id>
<content type='text'>
But only as an internal symbol, __libc_ns_samename.  The libresolv
ABI is preserved.  This is because the function is deprecated, and
it does not make sense to add new symbol versions for deprecated
functions.

Also reformat the implementation to GNU style.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
Tested-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>resolv: Move ns_makecanon into its own file, and into libc</title>
<updated>2021-07-19T05:56:21Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2021-07-19T05:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=08d4a98070c4c4f69c6d04f483d105121effba08'/>
<id>urn:sha1:08d4a98070c4c4f69c6d04f483d105121effba08</id>
<content type='text'>
But only as an internal symbol, __libc_ns_makecanon.  The libresolv
ABI is preserved.  This is because the function is deprecated, and
it does not make sense to add new symbol versions for deprecated
functions.

Also reformat the implementation to GNU style.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
Tested-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>resolv: Move ns_name_compress into its own file and into libc</title>
<updated>2021-07-19T05:56:21Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2021-07-19T05:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=13e1f86706e463de4429f7e88f47c6ff65cd845e'/>
<id>urn:sha1:13e1f86706e463de4429f7e88f47c6ff65cd845e</id>
<content type='text'>
And reformat to GNU style.

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
Tested-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>resolv: Move ns_name_pack into its own file and into libc</title>
<updated>2021-07-19T05:56:21Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2021-07-19T05:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=7ed1ac6da3d6ae5bfbbf4c4bdce07a40e8113df8'/>
<id>urn:sha1:7ed1ac6da3d6ae5bfbbf4c4bdce07a40e8113df8</id>
<content type='text'>
And reformat to GNU style, and eliminate the labellen function.

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
Tested-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>resolv: Move ns_name_pton into its own file and into libc</title>
<updated>2021-07-19T05:56:21Z</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2021-07-19T05:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=276e9822b3402d49a3c9bea713f89dc855812152'/>
<id>urn:sha1:276e9822b3402d49a3c9bea713f89dc855812152</id>
<content type='text'>
And reformat to GNU style, and eliminate the digits variable.

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
Tested-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
</feed>
