rte_ether_hdr(3)
β¨ 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_addrstruct rte_ether_addr src_addrrte_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
- 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