rxrpc_kernel...all_security(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rxrpc_kernel_query_call_security β€” bestie edition

okay so real talk, this page lives in the Kernel API Manual (yes the big scary one, don't worry, we got this 🫢) and the header literally reads rxrpc_kernel...all_security(9) because someone got tired of typing. the actual grown-up name is right below, come on.


✨ NAME ✨

rxrpc_kernel_query_call_security β€” literally just "query the call's security parameters" πŸ’… no cap, that's the whole vibe.


🌸 SYNOPSIS 🌸

u8 rxrpc_kernel_query_call_security (struct rxrpc_call *call , u16
       *_service_id , u32 *_enctype );

yes bestie it returns a u8, yes it takes three things, yes you're gonna be fine. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • call β€” the call you're querying. like, the actual call object. that one. πŸ¦‹
  • _service_id β€” a pointer to where it should drop the service ID for you. it's a u16 *, it's gotta point somewhere real, don't be weird about it.
  • _enctype β€” a pointer to where the "encoding type" goes (their quotes, not mine πŸ’€). it's a u32 *, same deal, point it at actual memory please.

πŸ’– DESCRIPTION πŸ’–

so this is the whole thing: it queries the security parameters of a call. it sets *_service_id and *_enctype for you (yes, through the pointers, that's literally the point of the pointers), and returns the security class. it's giving one-function-three-outputs main character energy honestly. πŸ‘‘


⭐ RETURN ⭐

the security class protocol number. that's the u8. that's what you get back. slay. ✨


🌈 SEE ALSO 🌈

  • Kernel file ./net/rxrpc/call_object.c β€” that's where the actual code lives, go peek, iykyk πŸ”₯

fr fr the only thing this function does is hand you back the service ID, the encoding type, and the security class β€” don't read anything extra into it, bestie. πŸ™ˆ

and that's the whole page, you ate that honestly πŸ’…πŸŽ€

from the ./net/rxrpc corner of the kernel, dated October 2026 β€” go forth and query those security parameters, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from