Lucent-technologies Ethereal Manuel d'utilisateur Page 191

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 190

Commentaires sur ces manuels

Pas de commentaire