Lucent-technologies Ethereal Bedienungsanleitung Seite 191

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 199
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 190
Procedure for converting a Corba idl file into an ethereal dissector
1. To write the C code to stdout.
idl2eth <your file.idl>
eg:
idl2eth echo.idl
2. To write to a file, just redirect the output.
idl2eth echo.idl > packet-test-idl.c
You may wish to comment out the register_giop_user_module() code and that will leave you
with heuristic dissection.
If you don't want to use the shell script wrapper, then try steps 3 or 4 instead.
3. To write the C code to stdout.
Usage: omniidl -p ./ -b ethereal_be <your file.idl>
eg:
omniidl -p ./ -b ethereal_be echo.idl
4. To write to a file, just redirect the output.
omniidl -p ./ -b ethereal_be echo.idl > packet-test-idl.c
You may wish to comment out the register_giop_user_module() code and that will leave you
with heuristic dissection.
5. Copy the resulting C code to your ethereal src directory, edit the 2 make files to include the
packet-test-idl.c
cp packet-test-idl.c /dir/where/ethereal/lives/
edit Makefile.am
edit Makefile.nmake
6. Run configure
./configure (or ./autogen.sh)
7. Compile the code
make
8. Good Luck !!
C.8.4. TODO
Related command line tools
177
Seitenansicht 190

Kommentare zu diesen Handbüchern

Keine Kommentare