Re: [tcpdump-workers] pcap_inject() an Ethernet's FCS

2010-01-14 Thread Aaron Turner
On Thu, Jan 14, 2010 at 5:50 PM, Guy Harris wrote: > > On Jan 14, 2010, at 5:45 PM, David Crowcroft wrote: > >> It looks like you either forgot to attach the files, or majordomo >> stripped them off your e-mail. > > The latter. > >> (plese resend them off-list to me, if necessary). > > Will do. >

Re: [tcpdump-workers] pcap_inject() an Ethernet's FCS

2010-01-14 Thread Guy Harris
On Jan 14, 2010, at 5:45 PM, David Crowcroft wrote: > It looks like you either forgot to attach the files, or majordomo > stripped them off your e-mail. The latter. > (plese resend them off-list to me, if necessary). Will do. >>> For instance, do I need to calculate the FCS in the Ethernet fr

Re: [tcpdump-workers] pcap_inject() an Ethernet's FCS

2010-01-14 Thread David Crowcroft
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 rese

Re: [tcpdump-workers] pcap_inject() an Ethernet's FCS

2010-01-14 Thread Guy Harris
On Jan 14, 2010, at 5:15 PM, David Crowcroft wrote: > 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. They might or might not compile on your UN*X, or on Windows; you might

[tcpdump-workers] pcap_inject() an Ethernet's FCS

2010-01-14 Thread David Crowcroft
Hello, Does anyone have an example program in C-language that uses the pcap_inject() funtion of the libpcap library? For instance, do I need to calculate the FCS in the Ethernet frames I send? Thanks, David - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.