tipc_sk_set_orig_addr(9)
π tipc_sk_set_orig_addr β like, the whole vibe
okay bestie, so this one lives in the Kernel API Manual (section 9, kernel-space girlies only β¨), and it's a short one β but it's important, okay? It's giving "small function, big responsibility." Let's get into it π«Ά
β¨ NAME β¨
tipc_sk_set_orig_addr β literally just capturing the sender's address for a received message, no big deal π
πΈ SYNOPSIS πΈ
void tipc_sk_set_orig_addr (struct msghdr *m , struct sk_buff *skb );
notice how it returns void?? yeah. it does the thing and doesn't need to brag about it. main character energy, honestly π
π ARGUMENTS π
mβ the descriptor for the message info. this is where the address info ends up, so likeβ¦ it's the notebook bestie πskbβ the received message. the actual packet that showed up to the party π
β οΈ NOTE β οΈ
bestie read this twice: the address is not captured if it wasn't requested by the receiver. so if nobody asked, nobody gets it β no cap. it's not being shady, it's just respecting boundaries π
π₯ SEE ALSO π₯
all the friends in the ./net/tipc/socket.c group chat π¦ β plus struct tipc_sock(9):
Kernel file ./net/tipc/socket.cstruct 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_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)
that's the whole page, bestie β short and slay π
sign-off time π this little baddie ships out of ./net/tipc, dated October 2026, under the Kernel API Manual banner. go forth and capture those addresses (only when requested, obviously) β¨ππΈ
π¦ 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