Changeset 12778c2


Ignore:
Timestamp:
04/23/06 18:25:23 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
dc13302
Parents:
e4e95499
Message:

More commenting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r114b8d6 r12778c2  
    322322typedef struct libtrace_llcsnap
    323323{
    324   uint8_t dsap;
    325   uint8_t ssap;
     324/* LLC */
     325  uint8_t dsap;                 /**< Destination Service Access Point */
     326  uint8_t ssap;                 /**< Source Service Access Point */
    326327  uint8_t control;
    327   uint32_t oui:24;
    328   uint16_t type;
     328/* SNAP */
     329  uint32_t oui:24;              /**< Organisationally Unique Identifier (scope)*/
     330  uint16_t type;                /**< Protocol within OUI */
    329331} PACKED libtrace_llcsnap_t;
    330332
     
    354356typedef struct libtrace_atm_cell
    355357{
    356   unsigned int gfc:4;
    357   uint8_t vpi;
    358   uint16_t vci;
    359   unsigned int pt:3;
    360   unsigned int clp:1;
    361   unsigned int hec;
     358  unsigned int gfc:4;           /**< Generic Flow Control */
     359  uint8_t vpi;                  /**< Virtual Path Identifier */
     360  uint16_t vci;                 /**< Virtual Channel Identifier */
     361  unsigned int pt:3;            /**< Payload Type */
     362  unsigned int clp:1;           /**< Cell Loss Priority */
     363  uint8_t hec;                  /**< Header Error Control */
    362364} PACKED libtrace_atm_cell_t;
    363365
Note: See TracChangeset for help on using the changeset viewer.