Changeset d95447b


Ignore:
Timestamp:
09/27/04 13:56:08 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
8043ced
Parents:
7e05fbe
Message:

doc tidyups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r5c5b47b rd95447b  
    6666 * and of zlib which are compiled for largefile support (if you wish to access
    6767 * traces larger than 2 GB). This is left as an exercise for the reader. Debian
    68  * Woody, at least, does not support large files offsets.
     68 * Woody, at least, does not support large file offsets.
    6969 *
    7070 */
     
    132132#  elif BYTE_ORDER == BIG_ENDIAN
    133133    u_int16_t doff:4;           
    134     u_int16_t res1:4;
    135     u_int16_t res2:2;
    136     u_int16_t urg:1;
    137     u_int16_t ack:1;
    138     u_int16_t psh:1;
    139     u_int16_t rst:1;
    140     u_int16_t syn:1;
    141     u_int16_t fin:1;
     134    u_int16_t res1:4;           /**< Reserved bits */
     135    u_int16_t res2:2;           /**< Reserved */
     136    u_int16_t urg:1;            /**< URG flag */
     137    u_int16_t ack:1;            /**< ACK flag */
     138    u_int16_t psh:1;            /**< PuSH flag */
     139    u_int16_t rst:1;            /**< RST flag */
     140    u_int16_t syn:1;            /**< SYN flag */
     141    u_int16_t fin:1;            /**< FIN flag */
    142142#  else
    143143#   error "Adjust your <bits/endian.h> defines"
     
    159159struct libtrace_icmp
    160160{
    161   u_int8_t type;                /* message type */
    162   u_int8_t code;                /* type sub-code */
    163   u_int16_t checksum;
     161  u_int8_t type;                /**< message type */
     162  u_int8_t code;                /**< type sub-code */
     163  u_int16_t checksum;           /**< checksum */
    164164  union
    165165  {
     
    168168      u_int16_t id;
    169169      u_int16_t sequence;
    170     } echo;                     /* echo datagram */
    171     u_int32_t   gateway;        /* gateway address */
     170    } echo;                     /**< echo datagram */
     171    u_int32_t   gateway;        /**< gateway address */
    172172    struct
    173173    {
    174174      u_int16_t unused;
    175175      u_int16_t mtu;
    176     } frag;                     /* path mtu discovery */
     176    } frag;                     /**< path mtu discovery */
    177177  } un;
    178178};
Note: See TracChangeset for help on using the changeset viewer.