Hi Vasilis...

On Mon, Feb 22, 2010 at 9:05 AM, Vasilis Liaskovitis <[email protected]> wrote:
> Hi,
>
> is it possible to capture Tx packets on an ethernet interface using
> pcap_inject or pcap_sendpacket ? I've used pcap_dispatch succesfully
> to capture Rx packets coming on the wire, but I have not been able to
> send packets out using the above two libpcap function. So I see no
> packets coming out of the SUT or packets coming in at the destination
> system (using e.g. tcpdump or another sniffer). Has anyone been able
> to use pcap_inject succesfully?

Never played with pcap before, but I did googling a bit and found this:
http://www.codeproject.com/KB/IP/UDPandWPCAP.aspx

It's WinPcap, but hopefully the basic idea is the same.....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to