Am 17.08.2010 18:50, schrieb Aaron Turner:
> On Tue, Aug 17, 2010 at 8:57 AM, Oliver Eales<jes...@arcor.de>  wrote:
>>   Am 16.08.2010 01:26, schrieb Aaron Turner:
>>>       - Initial Linux TX_RING sending support (#435)
>> Hello Aaron,
>> is this based on the following patch:
>> http://wiki.ipxwarzone.com/index.php5?title=Txring_patch
>>
>> I maybe blind, but i cant find it in your linkes source of 3.4.5.beta1 ?!
> No, actually I'm just forgetful.  Forgot to merge the TX_RING code
> from the other branch.
>
> As for the TX_RING code you linked to, I believe the answer is yes.
> > From what I can tell in my own testing, there are two versions with
> two different API's... at least the headers are different.  The
> configure script will check for the appropriate headers and do the
> right thing.  The configure report will tell you if it found them or
> not.  CentOS 5.5 in particular seems to behave differently and I
> haven't had time to figure out what needs to be done to make it work.
>
> Anyways, here's beta2 with the TX_RING code merged in:
>
> http://synfin.net/tcpreplay-3.4.5beta2.tar.gz

Thanks, i tried to compile it on a SLES-11 patchlevel 1 Linux with SuSe 
kernel 2.6.32.13-0.5-default but the TX_RING method is not detected by 
configure:
..
Supported Packet Injection Methods (*):
Linux TX_RING:              no
..

configure moans about this:

configure:17905: checking for TX_RING socket sending support
configure:17927: gcc -c -D_U_="__attribute__((unused))"  -Wall -O3 
-std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include  
conftest.c >&5
In file included from conftest.c:87: /usr/include/linux/if_packet.h:14: 
error: redefinition of 'struct sockaddr_ll'
compilation terminated due to -Wfatal-errors.
configure:17927: $? = 1

Regards,
Oliver



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to