odd(7)                              Atheros Powerline Toolkit                              odd(7)

NAME
       odd - object driven dump utility

SYNOPSIS
       odd [options] file [file] [...]  [>stdout]

DESCRIPTION
       Print an object driven dump on stdout. An object driven dump requires an object definition
       file that contains the size and name of data regions and members within a binary object or
       file.  Individual  data members are presented as independent data dumps within the larger,
       overall data dump.

OPTIONS
       -a     Reserved for Atheros use.

       -f definitions
              The name of the object definition file that contains the size, name and description
              of  objects  within a binary file. The definition file is not modified. This option
              is required. There is no default file.

       -t     Reserved for Atheros use.

       -?,--help
              Print program help summary on stdout.  This  option  takes  precedence  over  other
              options on the command line.

       -!,--version
              Print  program  version  information  on  stdout. This option takes precedence over
              other options on the command line. Usethis option  when  sending  screen  dumps  to
              Atheros  Technical  Support  so  that  they know exactly which version of the Linux
              Toolkit you are using.

ARGUMENTS
       file   The name of a binary file. More than one binary file  may  be  specified  but  each
              should conform to the object definition file or output will not be correct.

EXAMPLES
       The  following  is  an example object definition file for an Ethernet frame. Frame fields,
       like ODA, OSA and ETHTYPE,  are defined by length in order of their appears in the  frame.
       Array  subscripts  following object names are optional but, if present, become part of the
       object name. Fields having no length are headers and will be ignored. Comments  and  blank
       lines are also ignored.

          # ========================================
          #
          # ----------------------------------------

          0 header

          6 ODA[6] Own Destination Address
          6 OSA[6] Own Source Address
          2 ETHTYPE Ethertype or frame length

          # ========================================
          #
          # ----------------------------------------

          0 body

          1500 Payload[1500]

          # ========================================
          #
          # ----------------------------------------

          0 trailer

          4 CRC Cyclical Redundancy Check

       The following command uses object definition file ether.txt to identify and display member
       fields within binary file abc.bin in hexadecimal dump format.

          # odd -f ether.txt abc.bin

SEE ALSO
       grab(7), odc(7), odx(7)

CREDITS
        Charles Maier <cmaier@cmassoc.net>

int6000-utils-linux                   Atheros Communications                               odd(7)