rte_macsec.h(3)

πŸ’– rte_macsec.h(3) β€” Library Functions Manual πŸ’–

okay bestie, so this is a page from the DPDK docs β€” a man page in the Library Functions Manual, section 3, all about the header file rte_macsec.h. MACsec stuff. Very secure, very demure, very mindful πŸ”βœ¨


🌸 NAME 🌸

rte_macsec.h β€” it's literally just the header, and that's the whole name. short. iconic. periodt.


✨ SYNOPSIS ✨

#include <rte_byteorder.h>

πŸŽ€ Data Structures πŸŽ€

  • struct rte_macsec_hdr
  • struct rte_macsec_sci_hdr

πŸ¦‹ Macros πŸ¦‹

  • #define RTE_MACSEC_TCI_VER_MASK 0x80
  • #define RTE_MACSEC_TCI_ES 0x40
  • #define RTE_MACSEC_TCI_SC 0x20
  • #define RTE_MACSEC_TCI_SCB 0x10
  • #define RTE_MACSEC_TCI_E 0x08
  • #define RTE_MACSEC_TCI_C 0x04
  • #define RTE_MACSEC_AN_MASK 0x03
  • #define RTE_MACSEC_SCI_LEN 8

πŸ’… Detailed Description πŸ’…

MACsec-related defines. That's the vibe. That's the whole vibe.

Definition in file rte_macsec.h.

πŸ‘‘ Macro Definition Documentation πŸ‘‘

🌈 #define RTE_MACSEC_TCI_VER_MASK 0x80

the version mask for MACsec. ngl bestie it should be 0. that's the assignment. do not freelance. πŸ’€

Definition at line 16 of file rte_macsec.h.

🌈 #define RTE_MACSEC_TCI_ES 0x40

mask for the End station (ES) bit β€” and when this one's set, SCI is not valid. she said valid? no. πŸ™ˆ

Definition at line 17 of file rte_macsec.h.

🌈 #define RTE_MACSEC_TCI_SC 0x20

mask for the SCI present bit. it's giving "is SCI here or not" energy. 🫢

Definition at line 18 of file rte_macsec.h.

🌈 #define RTE_MACSEC_TCI_SCB 0x10

mask for the EPON single copy broadcast bit. very niche, very specific, we respect it. ✨

Definition at line 19 of file rte_macsec.h.

🌈 #define RTE_MACSEC_TCI_E 0x08

mask for the encrypted user data bit. the data is encrypted, she's mysterious, she's not telling you anything. πŸ’–

Definition at line 20 of file rte_macsec.h.

🌈 #define RTE_MACSEC_TCI_C 0x04

mask for the changed user data bit β€” changed because of encryption, in case you were wondering. no cap, that's the reason stated. πŸŽ€

Definition at line 21 of file rte_macsec.h.

🌈 #define RTE_MACSEC_AN_MASK 0x03

the association number mask, living inside tci_an. tiny mask, big responsibility. πŸ”₯

Definition at line 22 of file rte_macsec.h.

🌈 #define RTE_MACSEC_SCI_LEN 8

SCI length in the MACsec header, but only if present. conditional queen πŸ‘‘

Definition at line 45 of file rte_macsec.h.

🧚 Author 🧚

Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its lil thing. slay, robot. πŸ’…


and that's the whole page bestie!! this was DPDK, Version 25.11.3, and the page is rte_macsec.h(3) β€” go forth and mask your TCI bits responsibly. mwah. πŸ’–πŸ¦‹πŸŒΈβœ¨πŸ‘‘

πŸ“¦ where this page comes from