rte_ether_hdr(3)

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

✨ rte_ether_hdr(3) ✨

okay so bestie, you've found the library functions manual page for rte_ether_hdr and honestly? it's a little icon and it's gonna be so easy. this is the Ethernet header struct from DPDK, and it's giving "three fields, zero drama" πŸ’… let's get into it πŸŽ€


🌸 SYNOPSIS 🌸

first things first, you gotta pull it in:

#include <rte_ether.h>

πŸ¦‹ Data Fields

here's the whole squad β€” the struct is literally just these three, no cap:

  • struct rte_ether_addr dst_addr
  • struct rte_ether_addr src_addr
  • rte_be16_t ether_type

that's it. that's the struct. 🫢


πŸ’– Detailed Description πŸ’–

Ethernet header: Contains the destination address, source address and frame type. lowkey the whole personality of an Ethernet frame in one tiny struct 😭

Definition at line 300 of file rte_ether.h. ✨

πŸ”₯ Field Documentation πŸ”₯

πŸ’œ struct rte_ether_addr dst_addr

Destination address. that's who it's going to, main character of the frame fr fr πŸ‘‘

Definition at line 301 of file rte_ether.h. ⭐

🌈 struct rte_ether_addr src_addr

Source address. that's who sent it β€” the origin story, the lore 🧚

Definition at line 302 of file rte_ether.h. πŸ’«

πŸ“ rte_be16_t ether_type

Frame type. the little tag that says what's inside β€” big endian, bestie, don't forget 😀

Definition at line 303 of file rte_ether.h. 🌸

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so no human wrote this one, it's a bot with a dream πŸ™ˆ


πŸŽ€ SEE ALSO πŸŽ€

(nothing else listed here bestie β€” this page is a solo act πŸ’…)


and that's the whole vibe check, bestie β€” slay πŸ’–

DPDK Β· Version 26.03.0 Β· rte_ether_hdr(3) β€” generated with love (and Doxygen) πŸ¦‹βœ¨

πŸ“¦ where this page comes from