Re: pcap_inject over ethernet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vasilis...

On Mon, Feb 22, 2010 at 9:05 AM, Vasilis Liaskovitis <vliaskov@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux