reuseport_add_sock(9)
πΈ NAME πΈ
okay bestie, welcome to the reuseport_add_sock(9) manual page π β this is the kernel API thatβs literally about adding a socket to the reuseport group of another. slay.
β¨ SYNOPSIS β¨
hereβs the function signature, copied with love and zero typos π«Ά:
int reuseport_add_sock (struct sock *sk , struct sock *sk2 , bool
bind_inany );
π ARGUMENTS π
skβ the new socket youβre adding to the group. main character energy fr fr πsk2β a socket that belongs to the existing reuseport group. iykyk πbind_inanyβ says whether or not the group is bound to a localINANYaddress. yes, thatβs the whole vibe check π
π¦ DESCRIPTION π¦
real talk: this one may return ENOMEM and not add the socket to the group under memory pressure ππ. thatβs the tea β no cap.
π SEE ALSO π
- Kernel file:
./net/core/sock_reuseport.cβ¨ reuseport_select_sock(9)πreuseport_migrate_sock(9)π«
mwah π β this page came from ./net/core and is dated October 2026. periodt. π
π¦ 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