__tipc_bind(9)
π __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 π₯
- Kernel file
./net/tipc/socket.cπ struct tipc_sock(9)π¦tsk_advance_rx_queue(9)tsk_rej_rx_queue(9)tipc_sk_create(9)tipc_release(9)tipc_getname(9)tipc_poll(9)tipc_sendmcast(9)tipc_send_group_msg(9)tipc_send_group_unicast(9)tipc_send_group_anycast(9)tipc_send_group_bcast(9)tipc_send_group_mcast(9)tipc_sk_mcast_rcv(9)tipc_sk_conn_proto_rcv(9)tipc_sendmsg(9)tipc_sendstream(9)tipc_send_packet(9)tipc_sk_set_orig_addr(9)tipc_sk_anc_data_recv(9)tipc_recvmsg(9)tipc_recvstream(9)tipc_write_space(9)tipc_data_ready(9)tipc_sk_filter_connect(9)rcvbuf_limit(9)tipc_sk_filter_rcv(9)tipc_sk_backlog_rcv(9)tipc_sk_enqueue(9)tipc_sk_rcv(9)tipc_connect(9)tipc_listen(9)tipc_accept(9)tipc_shutdown(9)tipc_setsockopt(9)tipc_getsockopt(9)tipc_socket_init(9)tipc_socket_stop(9)tipc_sk_filtering(9)tipc_sk_overlimit1(9)tipc_sk_overlimit2(9)tipc_sk_dump(9)
mwah π xoxo, signed with glitter from ./net/tipc, dated October 2026, all about __tipc_bind(9) π«Άπ
π¦ 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