tipc_sk_set_orig_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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):


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