DPDK  21.08.0
Data Fields
rte_ether_hdr Struct Reference

#include <rte_ether.h>

Data Fields

struct rte_ether_addr d_addr
 
rte_be16_t ether_type
 
struct rte_ether_addr s_addr
 
struct {
S_un
 

Detailed Description

Ethernet header: Contains the destination address, source address and frame type.

Examples:
examples/bbdev_app/main.c, examples/bond/main.c, examples/ethtool/ethtool-app/main.c, examples/flow_classify/flow_classify.c, examples/flow_filtering/main.c, examples/ioat/ioatfwd.c, examples/ip_fragmentation/main.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec_worker.c, examples/ipv4_multicast/main.c, examples/l2fwd-crypto/main.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd/main.c, examples/l3fwd-acl/main.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_em.c, examples/l3fwd/l3fwd_fib.c, examples/l3fwd/l3fwd_lpm.c, examples/link_status_interrupt/main.c, examples/performance-thread/l3fwd-thread/main.c, examples/ptpclient/ptpclient.c, examples/qos_meter/main.c, examples/server_node_efd/node/node.c, examples/server_node_efd/server/main.c, examples/vhost/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.

Definition at line 270 of file rte_ether.h.

Field Documentation

◆ d_addr

struct rte_ether_addr d_addr

◆ s_addr

struct rte_ether_addr s_addr

◆ S_un

struct { ... } S_un

Do not use directly; use s_addr instead.

◆ ether_type

rte_be16_t ether_type

The documentation for this struct was generated from the following file: