tipc_sendmcast(9)
π
tipc_sendmcast β the tipc_sendmcast(9) kernel API page, bestie edition
okay so this is the man page for tipc_sendmcast(9) from the Kernel API Manual, and honestly? it's a short one, so we're gonna get through it together, no stress π«Ά
β¨ NAME β¨
tipc_sendmcast β send a multicast message π like, that's the whole gig. it sends the multicast message. slay.
πΈ SYNOPSIS πΈ
int tipc_sendmcast (struct socket *sock , struct tipc_uaddr *ua , struct
msghdr *msg , size_t dlen , long timeout );
that's the signature, copy it exactly please, don't freestyle it π
π¦ ARGUMENTS π¦
sockβ the socket structure π your actual socket, the main characteruaβ destination address struct, i.e. where this multicast goodness is headedmsgβ the message to send β¨ the whole point, fr frdlenβ length of the data to send, so the kernel knows how much of it is realtimeoutβ timeout to wait for a wakeup; it's the patience setting β³
π DESCRIPTION π
so this one is called from tipc_sendmsg, which is the function that already did all the sanity checks for us π so by the time we're here, everything's been vibe-checked and we can just go.
lowkey love a function with a clear division of labour. not me being obsessed with separation of concerns π
π RETURN π
returns the number of bytes sent on success, or errno if it's not a success moment π simple as that.
β SEE ALSO β
the full squad, and yes we're listing every single one, because everyone deserves their moment π«Ά
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_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)
and that's the page!! π§ this lil cutie lives in ./net/tipc and the version/date on the tin is October 2026 β so like, future-dated but make it iconic. bye bestie, go send some multicast ππ
π¦ 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