tipc_accept(9)
π tipc_accept (9) β like, the kernel API manual page, bestie π
okay so this is the tipc_accept page from the Kernel API Manual, and honestly? it's a whole mood. it's short, it's sweet, it does exactly one thing, and it does it slayfully. let's get into it β¨
πΈ NAME πΈ
tipc_accept β wait for a connection request π«Ά
like, literally just sit there and wait for somebody to slide into your DMs (except the DMs are a TIPC socket and the somebody is a peer connection request). no cap.
β¨ SYNOPSIS β¨
int tipc_accept (struct socket *sock , struct socket *new_sock , struct
proto_accept_arg *arg );
that's it. that's the whole vibe check. three args, one int return, main character energy only π₯
π¦ ARGUMENTS π¦
sockβ the listening socket π this is the one doing the listening, the one holding down the fort, the one with the queue. she's been waiting for this.new_sockβ the new socket that is to be connected π this is the fresh baby socket that gets connected when the request comes through. new socket, new beginnings, iconic.argβ arguments for accept π exactly what it sounds like: the accept arguments get handed over right here.
π RETURN π
0on success π₯³ (we love a zero, we stan a zero)errnootherwise π (something went sideways, and the error number will tell you which flavour of sideways)
ngl, keep an eye on that return value!0means we ate, anything else means we did not eat. check yourerrno, bestie π
π SEE ALSO π
okay this is the part where the page just. keeps. going. and every single one of these is staying right here because we do not skip entries in this house β¨ you want the whole TIPC cinematic universe? you got it:
- 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_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_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)
likeβ¦ that's 41 entries. forty-one. she said "here's my whole friend group, meet them" and honestly? respect π iykyk.
π§ quick reminder bestie: this page lives in ./net/tipc β that's the directory, that's where the source is at. don't @ me.
and that's the page! π hope you understood it, hope you loved it, hope you're obsessed. this drop is from the Kernel API Manual, dated October 2026, living in ./net/tipc β periodt. mwah ππ
π¦ 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