(Sent from the wrong address, so it bounced; resent from the right
address, with extra crud added so that it doesn't get bounced again
as a duplicate message.)
On Dec 4, 2005, at 8:37 PM, BinaryChen(TP/SH) wrote:
I have captured some raw PPP data from serial driver, and I want
use libpcap
from the manpage:
NAME
text2pcap - Generate a capture file from an ASCII hexdump of packets
SYNOPSYS
text2pcap [ -h ] [ -d ] [ -q ] [ -o hex|oct ] [ -l typenum ] [ -e l3pid
] [ -i proto ] [ -m max-packet ]
[ -u srcport,destport ] [ -T srcport,destport ] [ -s
srcport,destp
libpcap does not do what you want it to do ...
however you may want to look at the text2pcap utility
that is bundled with ethereal.
/hannes
BinaryChen(TP/SH) wrote:
Hi,
I have captured some raw PPP data from serial driver, and I want use libpcap to convert to pcap file format so the ethereal