Im working with an ndis im driver. Ive gotten the first 14 bytes of the packet buffer and put them into an ethernet struct but i dont know how to format it into a legit string so I can see the mac dest and source.
DbgPrint(“%s/n”, EthDest); //try to format the ethernet destination
It just comes out “yyyyy” in DbgView even if i just print the buffer itself with out a structure. But the chain of buffers following(rest of packet data) is printed correctly.
How do i format the ethernet headers so i can print it?