tipc_setsockopt(9)
π tipc_setsockopt(9) β a lil' page from the Kernel API Manual
okay so bestie, welcome to the group chat. this is tipc_setsockopt, a kernel function, and honestly she's kind of a queen of doing the absolute least. let's get into it π
β¨ NAME β¨
tipc_setsockopt β set socket option π
like, she sets the socket option. that's the whole personality. iconic.
β¨ SYNOPSIS β¨
int tipc_setsockopt (struct socket *sock , int lvl , int opt , sockptr_t
ov , unsigned int ol );
β¨ ARGUMENTS β¨
listen bestie, the roster is small but every single one matters:
sockβ the socket structure itself π«Ά the main character of this whole situationlvlβ the option level, aka which layer of the vibe we're talking tooptβ the option identifier, the actual which option of it allovβ pointer to the new option value β¨ she points at the newnessolβ length of the option value, so we know how much of it there is
β¨ DESCRIPTION β¨
so here's the tea π: this is for stream sockets only. and when you hit her with it, she accepts and ignores all IPPROTO_TCP options β the whole point is just to ease compatibility, no cap. she's not reading them, she's not judging them, she's just letting them through so everything plays nice π
β¨ RETURN β¨
0on success π slay- errno otherwise π it's giving not-her-day
β¨ SEE ALSO β¨
okay the friend group is HUGE, she knows literally everyone. all of these live in the 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_accept(9)tipc_shutdown(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)
π¦ friendly reminder bestie: she really does ignore those IPPROTO_TCP options on stream sockets. that's the documented behaviour, not me being shady. iykyk.
okay that's the page!! mwah π this icon came to you from source ./net/tipc, dated October 2026 β bookmark her, she ate and left no crumbs πβ¨π
π¦ 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