i'm doing new qos discipline developement and use ownmesurment tool. It simply uses PF_PACKET and thendoing sendto/recv simulating various flows.(I use both lo and eth0 where I short-connected RX-TX pins in single ethcard)

Is there any faster way to force raw packets to kernel ? I needto push qos discipline to its edge but I can't because sendsyscall is bottleneck.Is it possible to tx multiple packets in sinhle call or shouldI extend kernel myself for this testing purpose ?