rxrpc_kernel_set_peer_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rxrpc_kernel_set_peer_data(9) πŸ’–

Okay bestie, welcome to the Kernel API Manual page for the iconic little function that sets app-specific data on a peer. 🫢

✨ NAME ✨

rxrpc_kernel_set_peer_data β€” set app-specific data on a peer. That's the whole vibe, no cap. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

The signature is literally giving:

unsigned long rxrpc_kernel_set_peer_data (struct rxrpc_peer *peer ,
       unsigned long app_data );

🌸 ARGUMENTS 🌸

  • peer β€” the peer you're altering, bestie. Main character peer energy. πŸ‘‘
  • app_data β€” the data you're setting. That's your little payload moment. πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

Set the app-specific data on a peer. Slay. ✨

AF_RXRPC makes no effort to retain anything the data might refer to. So like, it's not holding onto your stuff β€” it does not make any effort to retain what that data might point at. Periodt. πŸ’€

⚠️ Big vibe check: AF_RXRPC makes no effort to retain anything the data might refer to. Keep that in mind, iykyk.

🌈 RETURN 🌈

It returns the previous app_data. Yep β€” the old one, handed right back to you. 🫢

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./net/rxrpc/peer_object.c says hi, and here's the whole friend group:


Signed off with love from ./net/rxrpc, dated October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from