Changeset 730


Ignore:
Timestamp:
04/23/06 18:25:23 (7 years ago)
Author:
perry
Message:

More commenting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libtrace.h

    r722 r730  
    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.