UNION BPF_KSOCK_ADDR(9)
π union bpf_ksock_addr(9) π
okay so bestie, welcome to the Kernel API Manual page for union bpf_ksock_addr β it's giving "one little union, two socket-address vibes" and we're gonna get through it together, no cap β¨
π NAME π
union bpf_ksock_addr β an IPv4 or IPv6 socket address. That's the whole name section, short and iconic π
β¨ SYNOPSIS β¨
here's the exact shape, copied with care:
union bpf_ksock_addr {
struct sockaddr_in sin;
struct sockaddr_in6 sin6;
};
π«Ά Members π«Ά
sinβ IPv4 socket address. literally the IPv4 one πsin6β IPv6 socket address. and this is the IPv6 one π¦
π SEE ALSO π
- Kernel file
./include/linux/bpf_ksock.hβ go peek, iykyk π struct bpf_ksock_create_opts(9)β another page to vibe with π
π source/version:./include/linuxΒ· date:October 2026Β· page:union bpf_ksock_addr(9)β mwah, that's the whole page, bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms