ipv6_renew_options(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

hiii bestie πŸ’– welcome to the ipv6_renew_options(9) page from the Kernel API Manual β€” yes, we're in kernel API territory and we're thriving.

ipv6_renew_options β€” replace a specific ext hdr with a new one. ✨


✨ SYNOPSIS ✨

Here's the signature, copied exactly so you can trust it with your whole life:

struct ipv6_txoptions * ipv6_renew_options (struct sock *sk , struct ipv6_txoptions *opt , int newtype , struct ipv6_opt_hdr *newopt );

πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” the sock from which to allocate memory. Your memory source, bestie 🫢
  • opt β€” original options. The base set we're copying, okay?
  • newtype β€” option type to replace in opt.
  • newopt β€” new option of type newtype to replace (user-mem).

πŸ’… DESCRIPTION πŸ’…

Returns a new set of options which is a copy of opt with the option type newtype replaced with newopt. It's giving "glow-up for one specific option" πŸ’«

opt may be NULL, in which case a new set of options is returned containing just newopt. iconic behavior, honestly.

newopt may be NULL, in which case the specified option type is not copied into the new set of options. so real for that.

The new set of options is allocated from the socket option memory buffer of sk. no cap, that's where the memory comes from.


🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” this little page comes from the ./net/ipv6 source, October 2026 edition. go be iconic with your ext hdrs 🫢✨

πŸ“¦ where this page comes from