<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/bpf/prog_tests/socket_helpers.h, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-12-08T23:32:15Z</updated>
<entry>
<title>selftests/bpf: replace "__auto_type" with "auto"</title>
<updated>2025-12-08T23:32:15Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2025-07-20T06:46:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c278d72b99ca92e4227bda70ded38e7e7a3625f8'/>
<id>urn:sha1:c278d72b99ca92e4227bda70ded38e7e7a3625f8</id>
<content type='text'>
Replace instances of "__auto_type" with "auto" in:

	tools/testing/selftests/bpf/prog_tests/socket_helpers.h

This file does not seem to be including &lt;linux/compiler_types.h&gt;
directly or indirectly, so copy the definition but guard it with
!defined(auto).

Acked-by: Eduard Zingerman &lt;eddyz87@gmail.com&gt;
Signed-off-by: H. Peter Anvin (Intel) &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>selftests/bpf: Add socket_kind_to_str() to socket_helpers</title>
<updated>2025-05-22T21:26:58Z</updated>
<author>
<name>Michal Luczaj</name>
</author>
<published>2025-05-14T22:15:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d87857946ded5acfe273404c4126f75d8e7619c8'/>
<id>urn:sha1:d87857946ded5acfe273404c4126f75d8e7619c8</id>
<content type='text'>
Add function that returns string representation of socket's domain/type.

Suggested-by: Jakub Sitnicki &lt;jakub@cloudflare.com&gt;
Signed-off-by: Michal Luczaj &lt;mhal@rbox.co&gt;
Signed-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;
Reviewed-by: Jakub Sitnicki &lt;jakub@cloudflare.com&gt;
Acked-by: John Fastabend &lt;john.fastabend@gmail.com&gt;
Link: https://lore.kernel.org/r/20250515-selftests-sockmap-redir-v3-2-a1ea723f7e7e@rbox.co
</content>
</entry>
<entry>
<title>selftests/bpf: Support af_unix SOCK_DGRAM socket pair creation</title>
<updated>2025-05-22T21:26:58Z</updated>
<author>
<name>Michal Luczaj</name>
</author>
<published>2025-05-14T22:15:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb1131d5e181604a6ef06a691709213decfe42bd'/>
<id>urn:sha1:fb1131d5e181604a6ef06a691709213decfe42bd</id>
<content type='text'>
Handle af_unix in init_addr_loopback(). For pair creation, bind() the peer
socket to make SOCK_DGRAM connect() happy.

Signed-off-by: Michal Luczaj &lt;mhal@rbox.co&gt;
Signed-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;
Reviewed-by: Jakub Sitnicki &lt;jakub@cloudflare.com&gt;
Acked-by: John Fastabend &lt;john.fastabend@gmail.com&gt;
Link: https://lore.kernel.org/r/20250515-selftests-sockmap-redir-v3-1-a1ea723f7e7e@rbox.co
</content>
</entry>
<entry>
<title>selftests/bpf: Introduce socket_helpers.h for TC tests</title>
<updated>2024-12-20T22:13:31Z</updated>
<author>
<name>Cong Wang</name>
</author>
<published>2024-12-13T03:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=472759c9f5377912c7483cca5da847888a27cecc'/>
<id>urn:sha1:472759c9f5377912c7483cca5da847888a27cecc</id>
<content type='text'>
Pull socket helpers out of sockmap_helpers.h so that they can be reused
for TC tests as well. This prepares for the next patch.

Signed-off-by: Cong Wang &lt;cong.wang@bytedance.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Acked-by: John Fastabend &lt;john.fastabend@gmail.com&gt;
Link: https://lore.kernel.org/bpf/20241213034057.246437-4-xiyou.wangcong@gmail.com
</content>
</entry>
</feed>
