pause frames

64 views
Skip to first unread message

Максим Богданов

unread,
May 16, 2023, 11:58:03 AM5/16/23
to TRex Traffic Generator
Hello!

I m trying to replay a traffic from a pcap file in STL with a script using a push_pcap function
Screenshot_4.jpg
But trex shows an error
Screenshot_5.jpg
Could you confirm that T-Rex actually does not support pause frames?

hanoh haim

unread,
May 17, 2023, 10:26:12 AM5/17/23
to Максим Богданов, TRex Traffic Generator

Hi,
I think it is a different issue. try to same the file in Wireshark to a different format. There are many pcap file format and trex supports only two types.

Thanks
Hanoh

Jon

unread,
May 18, 2023, 11:04:05 AM5/18/23
to hanoh haim, Максим Богданов, TRex Traffic Generator
Just for reference how would we determine the types. I want to replay a chunk of our traffic from a .pcap. obviously it's not the file extension?

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/CA%2BYxBo%2Be6vsPMV-2ciEtG0RQUi3-c1tPt-bHEN%3DukSZJdYANCw%40mail.gmail.com.

hanoh haim

unread,
May 23, 2023, 8:21:00 AM5/23/23
to Jon, Максим Богданов, TRex Traffic Generator
Hi Jon, the header of the pcap file (first 4 bytes) should be one of the following:

static uint32_t MAGIC_NUM_FLIP = 0xd4c3b2a1;
static uint32_t MAGIC_NUM_DONT_FLIP = 0xa1b2c3d4;
static uint32_t MAGIC_NUM_NS_FLIP = 0x4d3cb2a1;
static uint32_t MAGIC_NUM_NS_DONT_FLIP = 0xa1b23c4d;

Thanks
Hanoh

Jon

unread,
May 23, 2023, 3:46:16 PM5/23/23
to hanoh haim, Максим Богданов, TRex Traffic Generator
Thank you!
Reply all
Reply to author
Forward
0 new messages