<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/net, branch releng/14.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-09-28T10:35:11Z</updated>
<entry>
<title>libc/getnameinfo: stop adding NI_NUMERICHOST where inappropriate</title>
<updated>2024-09-28T10:35:11Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2024-06-10T11:34:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff26fd77ee44de1b2a4c0a527deb6eb44c2fa238'/>
<id>urn:sha1:ff26fd77ee44de1b2a4c0a527deb6eb44c2fa238</id>
<content type='text'>
Checking the first nibble of the IPv6 address to be 0 and then
excluding two well known cases (v4-mapped, loopback) leaves us with
more cases where the first nibble could be 0, e.g., the RFC 6052,
2.1 Well-Known Prefix 64:ff9b::/96.
It is not practical to track them all and it is not clear what lead
to this special casing originally, so remove them.

While here also remove the IN6_IS_ADDR_LINKLOCAL() + NI_NUMERICHOST
case as link-local address resolution does exist.

We do leave the IN6_IS_ADDR_MULTICAST() case for now as I could
not find any references to any official reverse lookups for these.

Adding comments for more case (and some historic behaviour) in order
to make it easier to follow the logic.

PR:		279618
Fixes:		6cb9418289f90
Reviewed by:	hrs
Differential Revision: https://reviews.freebsd.org/D45547

(cherry picked from commit c179937b986ec3959d89bfeb8eed0a6f58a28649)
</content>
</entry>
<entry>
<title>sctp: document sctp_recvmsg as implemented</title>
<updated>2024-08-03T22:19:33Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2024-05-02T13:17:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37c9f79561c0b83e2ad87939fad27167ae7f11db'/>
<id>urn:sha1:37c9f79561c0b83e2ad87939fad27167ae7f11db</id>
<content type='text'>
PR:		275990

(cherry picked from commit eee88ef45f78d7f9996a740c2a554bc6e8496114)
</content>
</entry>
<entry>
<title>libc: Annotate a couple of local functions as such</title>
<updated>2024-02-09T14:55:45Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-01-29T16:43:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=324e9141068dbad8e794dc95e850c9ef982c0870'/>
<id>urn:sha1:324e9141068dbad8e794dc95e850c9ef982c0870</id>
<content type='text'>
No functional change intended.

MFC after:	1 week

(cherry picked from commit 8d5353de74471038bd75a6cb39bf58f50a600642)
</content>
</entry>
<entry>
<title>inet(3): clarify syntax accepted by inet_pton</title>
<updated>2024-01-30T20:10:30Z</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2024-01-27T15:40:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9e63d77c6b5ecd26c78502734cbc0fe85364685'/>
<id>urn:sha1:e9e63d77c6b5ecd26c78502734cbc0fe85364685</id>
<content type='text'>
The section INTERNET ADDRESSES describes the acceptance of dotted
values with varying number of parts in multiple bases.  This applies
to inet_aton and inet_addr, but not to inet_pton.  Clarify this
section by listing the functions to which this applies.  Move the
description of what inet_pton accepts into this section from STANDARDS,
where it is easily missed.  Rename the section to clarify that it
applies only to IPv4.  (inet_pton also works with IPv6.)

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D43537

(cherry picked from commit 9231c42127bf8e47588169ecc395f57cae0e15fb)
</content>
</entry>
<entry>
<title>resolv: Add a required include to resolv.h</title>
<updated>2024-01-15T10:33:59Z</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2024-01-08T11:52:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a70219b209f4ba8e8244d3886d364da4c00e4df'/>
<id>urn:sha1:5a70219b209f4ba8e8244d3886d364da4c00e4df</id>
<content type='text'>
Add a required include to resolv.h for sockaddr_in.  This should reduce
patching required when porting code written with Linux or NetBSD in mind.

PR:		182466
MFC after:	1 week

(cherry picked from commit 58cf91d3b72a01777bacf72d66a648a744ae3143)
</content>
</entry>
<entry>
<title>libc: centralize ntoh symbols</title>
<updated>2023-12-13T22:08:14Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-11-15T23:40:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d67dced83851c6b509426ba6f3d9dde5583ce06'/>
<id>urn:sha1:9d67dced83851c6b509426ba6f3d9dde5583ce06</id>
<content type='text'>
These are implemented by net/ntoh.c via headers and compiler intrinsics
so declare them in net/Symbol.map.

Reviewed by:	imp, kib, emaste
Differential Revision:	https://reviews.freebsd.org/D42615

(cherry picked from commit ff3a9d8e2909692c73ce9f9279cac2f15848b3f4)
</content>
</entry>
<entry>
<title>libc: Remove empty comments in Symbol.map</title>
<updated>2023-12-13T22:08:13Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-11-15T17:51:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=695639d2f4e1d618ffa10cf44a91db6dddf0709f'/>
<id>urn:sha1:695639d2f4e1d618ffa10cf44a91db6dddf0709f</id>
<content type='text'>
These were left over from $FreeBSD$ removal.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D42612

(cherry picked from commit 1ca63a8219b88b752b064d19bd3428c61dbcf1f9)
</content>
</entry>
<entry>
<title>hesiod: Modernize.</title>
<updated>2023-12-13T16:41:48Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2023-10-18T14:05:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a2dd26311e3dc6bd33d7981f8ea6d08cfd5f88b'/>
<id>urn:sha1:6a2dd26311e3dc6bd33d7981f8ea6d08cfd5f88b</id>
<content type='text'>
Reviewed by:	zlei
Differential Revision:	https://reviews.freebsd.org/D42190

(cherry picked from commit 64fc8a936c868345a8f687fe2797474c5fcf35cb)
</content>
</entry>
<entry>
<title>libc: Purge unneeded cdefs.h</title>
<updated>2023-11-27T04:20:09Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-01T22:43:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4025b5b527c870cf095ac9531764f4e4d3feaec2'/>
<id>urn:sha1:4025b5b527c870cf095ac9531764f4e4d3feaec2</id>
<content type='text'>
These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D42385

(cherry picked from commit 559a218c9b257775fb249b67945fe4a05b7a6b9f)
</content>
</entry>
<entry>
<title>Purge more stray embedded $FreeBSD$ strings</title>
<updated>2023-10-24T17:10:12Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-09-25T14:54:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=260bab9f1e6f2a770eab029f5b37e6f4fa12edbe'/>
<id>urn:sha1:260bab9f1e6f2a770eab029f5b37e6f4fa12edbe</id>
<content type='text'>
These do not use __FBSDID but instead use bare char arrays.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41957

(cherry picked from commit eba230afba4932f02a1ca44efc797cf7499a5cb0)
</content>
</entry>
</feed>
