tipc_sk_create(9)
π tipc_sk_create(9) β the Kernel API Manual, bestie edition π
Okay so this is a page from the Kernel API Manual, and it's literally all about tipc_sk_create β the little function that gets your TIPC socket its whole life together. Sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
tipc_sk_create β create a TIPC socket, no cap π«Ά
πΈ SYNOPSIS πΈ
int tipc_sk_create (struct net *net , struct socket *sock , int protocol
, int kern );
That's the whole signature, character for character, don't come for me π
π¦ ARGUMENTS π¦
netβ the network namespace, and heads up bestie: it must be the default network. Not a vibe-adjacent one, the default one. πsockβ a pre-allocated socket structure. It's already sitting there waiting for you, you're not making it here. Iconic of it honestly.protocolβ the protocol indicator, and plot twist: it must be0. That's it. Zero. Nothing else slays here. β¨kernβ asking the real question: was this caused by the kernel, or by userspace? π Inquiring minds want to know.
π DESCRIPTION π
So what does this routine actually do? It creates the extra data structures that the TIPC socket needs, initializes them, and then links them all together. That's the whole arc π§ Like, it's giving "putting the group chat together and making sure everyone's added." Lowkey essential work, highkey underrated.
π RETURN π
0 on success, errno otherwise. That's the tea β Slay if you get 0, and if you don't... well, errno will tell you what's up.
π SEE ALSO π
Kernel file ./net/tipc/socket.c struct tipc_sock(9), and like, the entire extended friend group:
tsk_advance_rx_queue(9)tsk_rej_rx_queue(9)tipc_release(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)
Every single one, iykyk π Go read them, they're all main characters in their own right.
Fr fr, that's the whole page. Nothing skipped, nothing invented, the facts are exactly where they were β just with better vibes now π β¨
And that's a wrap, bestie π this came from ./net/tipc, dated October 2026, and it's filed under tipc_sk_create(9) β 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