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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -