rte_gre_hdr(3)
π NAME π
rte_gre_hdr β bestie, this is the rte_gre_hdr page from section (3), the library functions manual. It's giving GRE header energy, and we're gonna get into every single field π
β¨
β¨ SYNOPSIS β¨
Okay so first things first, you gotta pull in the header like this:
#include <rte_gre.h>
π¦ Data Fields π¦
Here's the whole squad of fields, exactly as they show up:
uint16_t res2:4
uint16_t s:1
uint16_t k:1
uint16_t res1:1
uint16_t c:1
uint16_t ver:3
uint16_t res3:5
rte_be16_t proto
π Detailed Description π
GRE Header. Literally that's the whole vibe.
Definition at line 26 of file rte_gre.h.
π₯ Field Documentation π₯
πΈ uint16_t res2
Reserved. No cap, it's just reserved.
Definition at line 28 of file rte_gre.h.
π¦ uint16_t s
Sequence Number Present bit. It's the bit that says whether the sequence number is present.
Definition at line 29 of file rte_gre.h.
π uint16_t k
Key Present bit. The bit that says whether the key is present.
Definition at line 30 of file rte_gre.h.
β uint16_t res1
Reserved. Again β reserved, bestie.
Definition at line 31 of file rte_gre.h.
π uint16_t c
Checksum Present bit. The bit that says whether the checksum is present.
Definition at line 32 of file rte_gre.h.
π uint16_t ver
Version Number. It's the version number, periodt.
Definition at line 33 of file rte_gre.h.
π uint16_t res3
Reserved. Reserved is reserved, iykyk.
Definition at line 34 of file rte_gre.h.
π rte_be16_t proto
Protocol Type. It's the protocol type field.
Definition at line 44 of file rte_gre.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Obsessed with the automation, honestly π«Ά
Signed off from the DPDK source tree, DPDK Version 26.03.0 π β and since the footer didn't list a date, I'm not inventing one, no cap π β¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms