Use multiple Ethernet MACs + your analysis logic in a FPGA to make a full wire speed network analyzer or packet generator .
Simple & easy. No driver programming. Direct program control of FPGA state machines, registers & memories. No TCP/IP/UDP needed. Low gate count & low cost, no royalties.
formatting link