tipc_getsockopt(9)
π NAME π
okay so bestie, this is tipc_getsockopt(9), straight out of the Kernel API Manual, and itβs giving βget socket optionβ energy. no cap. π«Ά
tipc_getsockopt β get socket option.
β¨ SYNOPSIS β¨
int tipc_getsockopt (struct socket *sock , int lvl , int opt , sockopt_t
*sopt );
π ARGUMENTS π
sockβ socket structure. the socket struct in question, bestie.lvlβ option level. which option level weβre on.optβ option identifier. the optionβs whole ID.soptβ socket option container (input buffer length, output value/length). this lil container carries the input buffer length and the output value/length.
π¦ DESCRIPTION π¦
For stream sockets only, it returns a 0 length result for all IPPROTO_TCP options β literally to ease compatibility. thatβs the whole vibe. no extra lore. β¨
π RETURN π
0 on success, errno otherwise. periodt. π
π SEE ALSO π
the whole squad, in order:
- 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_setsockopt(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 π this lil page comes from ./net/tipc, dated October 2026 β ty for reading, bestie, u ate π
π¦ 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