tcpdump mailing list archives

Re: pcap_inject() an Ethernet's FCS


From: David Crowcroft <david.crowcroft () googlemail com>
Date: Thu, 14 Jan 2010 22:45:40 -0300

Hello, Guy,

Does anyone have an example program in C-language that uses the
pcap_inject() funtion of the libpcap library?

I've attached some programs I've written as quick tests.

It looks like you either forgot to attach the files, or majordomo
stripped them off your e-mail. (plese resend them off-list to me, if
necessary).


For instance, do I need to calculate the FCS in the Ethernet frames I
send?

*Probably* not, at least in most cases.

Is there a portable way of deciding whether I *need* to do it? (I
assume that by default, "you don't need to calculate it", right?

Thanks a lot,
David
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: