<feed xmlns='http://www.w3.org/2005/Atom'>
<title>freebsd-src.git/lib/libsysdecode/netlink.c, branch main</title>
<subtitle>FreeBSD sources</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/freebsd-src.git/'/>
<entry>
<title>truss: add support for decoding Netlink messages</title>
<updated>2026-04-03T06:52:29+00:00</updated>
<author>
<name>Ishan Agrawal</name>
<email>iagrawal9990@gmail.com</email>
</author>
<published>2026-01-06T12:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/freebsd-src.git/commit/?id=8ef0093f297af7c917037f058af9813105e67662'/>
<id>8ef0093f297af7c917037f058af9813105e67662</id>
<content type='text'>
Netlink usage is growing in FreeBSD. This patch adds support to
`truss(1)` to decode Netlink headers in sendmsg/recvmsg calls, making
debugging network configuration tools significantly easier.

Changes:

libsysdecode: Add `sysdecode_netlink()` to parse struct `nlmsghdr`.
truss: Detect `AF_NETLINK` sockets and decode the message payload.

Reviewed by:	kp
Signed-off-by:	Ishan Agrawal &lt;iagrawal9990@gmail.com&gt;
Github PR:	https://github.com/freebsd/freebsd-src/pull/1950
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Netlink usage is growing in FreeBSD. This patch adds support to
`truss(1)` to decode Netlink headers in sendmsg/recvmsg calls, making
debugging network configuration tools significantly easier.

Changes:

libsysdecode: Add `sysdecode_netlink()` to parse struct `nlmsghdr`.
truss: Detect `AF_NETLINK` sockets and decode the message payload.

Reviewed by:	kp
Signed-off-by:	Ishan Agrawal &lt;iagrawal9990@gmail.com&gt;
Github PR:	https://github.com/freebsd/freebsd-src/pull/1950
</pre>
</div>
</content>
</entry>
</feed>
