<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/netlink, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-03-10T10:23:11Z</updated>
<entry>
<title>tests/netlink: Assert the route scope of interface's addresses</title>
<updated>2025-03-10T10:23:11Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2025-03-07T04:14:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f26a03fdbdc94196e062aa34066143279f7ca8d'/>
<id>urn:sha1:9f26a03fdbdc94196e062aa34066143279f7ca8d</id>
<content type='text'>
While here, add one additional IPv4 link-local address to test_46_nofilter
to cover the IPv4 RT_SCOPE_LINK case.

Reviewed by:	melifaro, #network
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D49226

(cherry picked from commit 5d8b48487acc8375675f2b7c4507c98ac5d0bf75)
(cherry picked from commit e84a17db1cc034b87df7660dadb709a019140c3c)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9'/>
<id>urn:sha1:023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
</content>
</entry>
<entry>
<title>tests: add more netlink tests for neighbors/routes</title>
<updated>2023-04-08T19:15:16Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-07T17:30:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b18abe2e1f22394717d4847f2c7b491929cee92b'/>
<id>urn:sha1:b18abe2e1f22394717d4847f2c7b491929cee92b</id>
<content type='text'>
Differential Revision: https://reviews.freebsd.org/D38912
MFC after:	2 weeks

(cherry picked from commit c57dfd92c876fabc04e94945dd9534468520bbbf)
</content>
</entry>
<entry>
<title>tests: add netlink large dump buffer check</title>
<updated>2023-04-08T19:14:49Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-20T10:20:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0276eb66472412d6fe93614a3e9d1a2a5e1f20c0'/>
<id>urn:sha1:0276eb66472412d6fe93614a3e9d1a2a5e1f20c0</id>
<content type='text'>
Differential Revision: https://reviews.freebsd.org/D38665
MFC after:	2 weeks

(cherry picked from commit 828d3c6c4cc0b782e16abb1ae18023734a0b710f)
</content>
</entry>
<entry>
<title>tests: fix netlink test_dump_ifaces_many test.</title>
<updated>2023-04-08T19:14:41Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-18T22:26:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0da116b051e48e21c43b73e6b82ebb4ebdf7c4b0'/>
<id>urn:sha1:0da116b051e48e21c43b73e6b82ebb4ebdf7c4b0</id>
<content type='text'>
Consider only loopback interfaces when counting.
Otherwise, if pf is loaded, 'pflog0' gets added to the vnet,
 breaking the test.

MFC after:	2 weeks

(cherry picked from commit 79748cec1f1c3437e49d7694e95fc7f438336805)
</content>
</entry>
<entry>
<title>netlink: fix capped uncapped ack handling in snl(3).</title>
<updated>2023-04-08T19:12:57Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-17T14:27:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=95b86c887b33fff3ea6ac53364b359f485dba7fd'/>
<id>urn:sha1:95b86c887b33fff3ea6ac53364b359f485dba7fd</id>
<content type='text'>
Reviewed by:	kp
Differential Revision: https://reviews.freebsd.org/D39144
MFC after:	2 weeks

(cherry picked from commit 568a645ba55a1c3fc4fc74735cb0fab08bfe4cbf)
</content>
</entry>
<entry>
<title>netlink: improve snl(3)</title>
<updated>2023-04-08T19:11:41Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-15T13:56:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5e5f410534627f306778ff38ed942f714962f9b'/>
<id>urn:sha1:a5e5f410534627f306778ff38ed942f714962f9b</id>
<content type='text'>
Summary:
* add snl_send_message() as a convenient send wrapper
* add signed integer parsers
* add snl_read_reply_code() to simplify operation result checks
* add snl_read_reply_multi() to simplify reading multipart messages
* add snl_create_genl_msg_request()
* add snl_get_genl_family() to simplify family name-&gt;id resolution
* add tests for some of the functionality

Reviewed by:	kp
Differential Revision: https://reviews.freebsd.org/D39092
MFC after:	2 weeks

(cherry picked from commit 73ae25c174b515616050496dea764a943796efef)
</content>
</entry>
<entry>
<title>netlink: add snl(3) default parsers for routes and links.</title>
<updated>2023-04-08T19:06:01Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-09T14:43:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=22b7b3250b2ef5ba98500601221dbc1461b3652b'/>
<id>urn:sha1:22b7b3250b2ef5ba98500601221dbc1461b3652b</id>
<content type='text'>
This change adds the "default" parsers of _all_ route/link attributes
 exported by the kernel.
It removes the need to declare similar parsers in the userland applications,
 simplifying their logic.

Differential Revision: https://reviews.freebsd.org/D38979
MFC after:	2 weeks

(cherry picked from commit 595d23f777dc24cb285b072c596ca96bbc2db3cd)
</content>
</entry>
<entry>
<title>netlink: fix vlan interface creation</title>
<updated>2023-04-08T19:03:59Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-03T16:01:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=401a06fd750d95e513b0b2960045b1acff21e5c5'/>
<id>urn:sha1:401a06fd750d95e513b0b2960045b1acff21e5c5</id>
<content type='text'>
MFC after:	2 weeks

(cherry picked from commit ce9f95bd835ec7d3ac6def5a910282509b1413f0)
</content>
</entry>
<entry>
<title>netlink: fix interface dump.</title>
<updated>2023-02-20T14:33:28Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-16T13:17:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a800622765b1e7cab79fa857e9a671e6c0c1ccec'/>
<id>urn:sha1:a800622765b1e7cab79fa857e9a671e6c0c1ccec</id>
<content type='text'>
The current code missed interface addition when reallocating
 temporary buffer.
Tweak the code to perform the reallocation first and add
 interface afterwards unconditionally.

Reported by:	Marek Zarychta &lt;zarychtam@plan-b.pwste.edu.pl&gt;
MFC after:	3 days

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