[prev in list] [next in list] [prev in thread] [next in thread]
List: tcpreplay-users
Subject: Re: [Tcpreplay-users] creating a library
From: yassine antir <ensi_yes () hotmail ! com>
Date: 2009-08-27 10:30:22
Message-ID: SNT110-W42E89A9E62FA1BD43306D7EEF60 () phx ! gbl
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
i have found the mistake it misses some defines in the header file that i have used \
(i don't know why i got the program working without it, no compile or link errors)
#define ACCURATE_NANOSLEEP 0
#define ACCURATE_SELECT 1
#define ACCURATE_RDTSC 2
#define ACCURATE_IOPORT 3
#define ACCURATE_GTOD 4
#define ACCURATE_ABS_TIME 5
nevertheless is working now and thanks for help
> From: synfinatic@gmail.com
> Date: Wed, 26 Aug 2009 09:35:52 -0700
> To: tcpreplay-users@lists.sourceforge.net
> Subject: Re: [Tcpreplay-users] creating a library
>
> On Wed, Aug 26, 2009 at 9:16 AM, yassine antir<ensi_yes@hotmail.com> wrote:
> > Hi,
> >
> > so i have got the library compiled on my application it was just a problem
> > of the right order of calling the different libraries
> > now i have another issue as you know i am using the main of tcpreplay as a
> > function on my application but i doesn't work
> > i got this error:
> >
> > sending out eth0
> > processing file: sample.pcap
> >
> > Fatal Error: Unknown timer mode 134644360
> >
>
> I'm going to guess you're not calling init() in tcpreplay.c.
>
>
>
> --
> Aaron Turner
> http://synfin.net/
> http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety.
> -- Benjamin Franklin
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> 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
_________________________________________________________________
Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si \
nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! \
http://ideas.live.com
[Attachment #5 (text/html)]
<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br>i have found the mistake it misses some defines in the header file that i have \
used (i don't know why i got the program working without it, no compile or link \
errors)<br><br>#define ACCURATE_NANOSLEEP 0<br>#define \
ACCURATE_SELECT 1<br>#define \
ACCURATE_RDTSC 2<br>#define \
ACCURATE_IOPORT 3<br>#define \
ACCURATE_GTOD 4<br>#define \
ACCURATE_ABS_TIME 5<br><br>nevertheless is working now and thanks for \
help<br><br>> From: synfinatic@gmail.com<br>> Date: Wed, 26 Aug 2009 09:35:52 \
-0700<br>> To: tcpreplay-users@lists.sourceforge.net<br>> Subject: Re: \
[Tcpreplay-users] creating a library<br>> <br>> On Wed, Aug 26, 2009 at 9:16 \
AM, yassine antir<ensi_yes@hotmail.com> wrote:<br>> > Hi,<br>> \
><br>> > so i have got the library compiled on my application it was just a \
problem<br>> > of the right order of calling the different libraries<br>> \
> now i have another issue as you know i am using the main of tcpreplay as \
a<br>> > function on my application but i doesn't work<br>> > i got this \
error:<br>> ><br>> > sending out eth0<br>> > processing file: \
sample.pcap<br>> ><br>> > Fatal Error: Unknown timer mode \
134644360<br>> ><br>> <br>> I'm going to guess you're not calling init() \
in tcpreplay.c.<br>> <br>> <br>> <br>> -- <br>> Aaron Turner<br>> \
http://synfin.net/<br>> http://tcpreplay.synfin.net/ - Pcap editing and replay \
tools for Unix & Windows<br>> Those who would give up essential Liberty, to \
purchase a little temporary<br>> Safety, deserve neither Liberty nor \
Safety.<br>> -- Benjamin Franklin<br>> <br>> \
------------------------------------------------------------------------------<br>> \
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <br>> \
trial. Simplify your report design, integration and deployment - and focus on \
<br>> what you do best, core application coding. Discover what's new with <br>> \
Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> \
_______________________________________________<br>> Tcpreplay-users mailing \
list<br>> Tcpreplay-users@lists.sourceforge.net<br>> \
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users<br>> Support \
Information: http://tcpreplay.synfin.net/trac/wiki/Support<br><br /><hr />Avec \
Windows Live, vous organisez, retouchez et <a \
href='http://www.microsoft.com/northafrica/windows/windowslive/products/photo-gallery-edit.aspx' \
target='_new'>partagez vos photos.</a></body> </html>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic