I have an XEmacPs ethernet object
I create a XEmacPs_Bd Template object
I clear it, XEmacPs_BdClear(&Template)
I clone it into the ring:
XEmacPs_BdRingClone(&(XEmacPs_GetRxRing(ðernet)), &Template, XEMACPS_RECV)
Than I get a packet. Now, how do I check the contents of the packet I just received? I am assuming that I use the macro:
u32 blank = XEmacPs_BdRead(&(XEmacPs_GetRxRing(EmacPsInstancePtr)), XEMACPS_BD_ADDR_OFFSET);
Except that when I do that, I don't get anything meaningful out of it. The entire swath of memory at that address is all blank.
How do I get the current buffer descriptor? How do I follow it to the packet's data?