Home
last modified time | relevance | path

Searched refs:ethhdr_rewrite (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c159 struct eth_header ethhdr_rewrite; member
494 memcpy(&fc->ethhdr_rewrite, fields->ethhdr, sizeof(struct eth_header)); in of_dpa_flow_pkt_hdr_rewrite()
496 memcpy(fc->ethhdr_rewrite.h_source, src_mac, ETH_ALEN); in of_dpa_flow_pkt_hdr_rewrite()
499 memcpy(fc->ethhdr_rewrite.h_dest, dst_mac, ETH_ALEN); in of_dpa_flow_pkt_hdr_rewrite()
501 fc->iov[0].iov_base = &fc->ethhdr_rewrite; in of_dpa_flow_pkt_hdr_rewrite()