rte_gre_hdr(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸŽ€ 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