reuseport_add_sock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 local INANY address. 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 πŸ’œ


mwah πŸ’‹ β€” this page came from ./net/core and is dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from