tipc_release(9)
okay bestie, welcome to tipc_release(9) from the Kernel API Manual β¨ β she's the routine that destroys a TIPC socket, and she is literally giving cleanup main character energy π
π NAME π
tipc_release β destroy a TIPC socket
β¨ SYNOPSIS β¨
int tipc_release (struct socket *sock );
π«Ά ARGUMENTS π«Ά
sockβ the socket to destroy. yep, that's the one we're cleaning up, bestie.
π§ DESCRIPTION π§
okay so this routine cleans up any messages that are still queued on the socket. no cap, it's giving tiny janitor with a clipboard π§Ήβ¨
- For DGRAM and RDM socket types, all queued messages are rejected.
- For SEQPACKET and STREAM socket types, the first message is rejected and any others are discarded.
- If the first message on a STREAM socket is partially-read, it is discarded and the next one is rejected instead.
π NOTE π
Rejected messages are not necessarily returned to the sender! They are returned or discarded according to the "destination droppable" setting specified for the message by the sender. iykyk π
π₯ RETURN π₯
0 on success, errno otherwise. slay.
π SEE ALSO π
go say hi to the whole TIPC friend group, bestie π«Ά:
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_bind(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)
byeee π this page's source/version is ./net/tipc, dated October 2026, and it's the tipc_release(9) era forever. 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