rte_ecpri_common_hdr(3)

πŸ’– NAME πŸ’–

rte_ecpri_common_hdr β€” bestie, this is the eCPRI Common Header, and she's the little struct that every eCPRI message leads with πŸ‘‘


✨ SYNOPSIS ✨

#include <rte_ecpri.h>

πŸ¦‹ Detailed Description πŸ¦‹

So like. This is the eCPRI Common Header. Every eCPRI message walks in wearing one of these first, no exceptions, that's just the vibe check at the door πŸ’…

Fun fact for the lore girlies: she's defined at line 65 of file rte_ecpri.h. Iconic behavior honestly.


🌸 Field Documentation 🌸

Okay so this struct is giving six fields and you're gonna meet all of them, one by one, no skips:

  • rte_be32_t u32 β€” a 4B common header, in BE (big-endian, periodt). If you're out here reading it in host byte order you are not the main character, you are the problem 😭
    • Defined at line 67 of file rte_ecpri.h.
  • uint32_t size β€” the Payload Size. She tells you how much payload is showing up. Size queen energy, respectfully πŸ“
    • Defined at line 70 of file rte_ecpri.h.
  • uint32_t type β€” the Message Type. What kind of eCPRI message are we dealing with? This field knows and needs you to know it too.
    • Defined at line 71 of file rte_ecpri.h.
  • uint32_t c β€” the Concatenation Indicator. Yes, her name is genuinely just one letter c and she is thriving, lowkey iconic πŸŽ€
    • Defined at line 72 of file rte_ecpri.h.
  • uint32_t res β€” Reserved. Not for you, bestie. Do not touch. She's reserved like a fancy restaurant table πŸ™ˆ
    • Defined at line 73 of file rte_ecpri.h.
  • uint32_t revision β€” the Protocol Revision. Tells you which version of the protocol we're on, so you know what era we're living in ⭐
    • Defined at line 74 of file rte_ecpri.h.
Heads up: u32 is the big-endian 4-byte view of the whole common header, and the other fields (size, type, c, res, revision) sit at offsets 70–74 in the source. Keep your byte order straight or the bytes will lie to you πŸ’€

🌈 Author 🌈

Not written by a human hand, bestie β€” she was Generated automatically by Doxygen for DPDK from the source code. Machine-made, machine-slay ✨


And that's the page fr fr 🫢 Generated by DPDK, Version 25.11.3, for rte_ecpri_common_hdr(3) β€” go read the header, love you, bye πŸ’œπŸŒˆπŸ§š

πŸ“¦ where this page comes from