STRUCT MACSEC_RX_SC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct macsec_rx_sc(9) πŸ’–

okay bestie, welcome to the Kernel API Manual entry for struct macsec_rx_sc(9) β€” the receive secure channel struct, and no cap it's giving main character energy. 🫢 The way that this struct lines up all its fields is lowkey iconic, and I'm keeping every field, every blurb, and every SEE ALSO ref exactly in place. Periodt.


🌸 NAME 🌸

struct macsec_rx_sc β€” receive secure channel πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the exact struct layout, bestie β€” character for character, no edits, no "oops I cleaned it up":

       struct macsec_rx_sc {
           struct macsec_rx_sc *next;
           sci_t sci;
           bool active;
           struct macsec_rx_sa *sa[MACSEC_NUM_AN];
           struct pcpu_rx_sc_stats __percpu *stats;
           refcount_t refcnt;
           struct rcu_head rcu_head;
        };

πŸ’… Members πŸ’…

Only four members get their own little blurb in this manual, so that's the tea we're serving. The rest of the fields are right there in the code block above; the page just doesn't hand out descriptions for next, refcnt, or rcu_head, and I'm not about to invent lore. 😭

  • sci β€” the secure channel identifier for this SC, iykyk πŸ”₯
  • active β€” the channel is active βœ…
  • sa β€” an array of secure associations πŸŽ€
  • stats β€” per-SC stats, the receipts πŸ“Š

🌈 SEE ALSO 🌈

the crossover episode includes the kernel file and all these structs, fr fr:

  • Kernel file ./include/net/macsec.h
  • struct macsec_key(9)
  • struct macsec_rx_sa(9)
  • struct macsec_tx_sa(9)
  • struct macsec_tx_sc(9)
  • struct macsec_secy(9)
  • struct macsec_context(9)
  • struct macsec_ops(9)
mwah πŸ’‹ β€” this page's source/version is ./include/net and the date is October 2026. That's the cute little footer sign-off, bestie; now go be iconic with your receive secure channel. 🧚✨
πŸ“¦ where this page comes from