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

246 Views Asked by At

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?

0

There are 0 best solutions below