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?