As the creator of Ostinato, just want to highlight two things -
- libpcap/winpcap is not just a packet capture library but also a packet injection library; most importantly, it is cross platform
- Ostinato (and other traffic generators) support packet capture as well as packet generation
So libpcap/winpcap was an obvious choice for Ostinato