c++ - Sending packet using libpcap speed limitation -
i wrote program captures ethernet packets nic (i.e eth0) @ high speed (about 1gbps) , forward traffic using pcap_sendpacket()
nic (i.e eth1).
while forwarder ethernet interface not connected computer nic, forwarding speed desired, when connect it, sending speed gets down awfully (from 900 mbps 100 mbps).
can explain reason?
os: kubuntu linux 10.10
language: c++
library: libpcap
because destination nic 100 bbps interface :d :p
Comments
Post a Comment