Re: [tcpdump-workers] libpcap for PPP raw data problem

2005-12-05 Thread Guy Harris
(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

:Re: [tcpdump-workers] libpcap for PPP raw data problem

2005-12-05 Thread Hannes Gredler
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

Re: [tcpdump-workers] libpcap for PPP raw data problem

2005-12-05 Thread Hannes Gredler
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