Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

How to access Ethernet frame in Linux kernel driver (stmmac)

$
0
0

For an Ethernet traffic, in the kernel stmmac driver, when an Ethernet frame is received, the function stmmac_rx is called here:

static int stmmac_rx(struct stmmac_priv *priv, int limit)

I would like to access the content of each frame in the kernel. How can I access the frame content?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>