__tipc_bind(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __tipc_bind(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the __tipc_bind(9) glow-up page from the Kernel API Manual ✨ this one is all about giving a TIPC socket a name (or taking that name away), and it is lowkey iconic.


✨ NAME ✨

__tipc_bind β€” associate or disassociate TIPC name(s) with a socket 🫢


πŸ’… SYNOPSIS πŸ’…

int __tipc_bind (struct socket *sock , struct sockaddr *skaddr , int alen );

πŸŽ€ ARGUMENTS πŸŽ€

  • sock β€” socket structure πŸ’–
  • skaddr β€” socket address describing name(s) and desired operation ✨
  • alen β€” size of socket address data structure πŸŽ€

🌸 DESCRIPTION 🌸

so here’s the tea, bestie: name and name sequence binding are indicated using a positive scope value 🌱 and a negative scope value unbinds the specified name πŸ’…

and if you specify no name β€” i.e. a socket address length of 0 β€” that unbinds all names from the socket 😌 periodt.


🌈 RETURN 🌈

0 on success, errno otherwise πŸ’–


πŸ’€ NOTE πŸ’€

ngl, this routine doesn’t need to take the socket lock, since it doesn’t access any non-constant socket information 🫢 no cap.


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ xoxo, signed with glitter from ./net/tipc, dated October 2026, all about __tipc_bind(9) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from