Changeset 299e9a0
- Timestamp:
- 08/13/04 10:30:01 (17 years ago)
- 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:
- ac96828
- Parents:
- 6a9feb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/dagformat.h
r750a1e0 r299e9a0 13 13 unsigned hdlc; 14 14 unsigned char pload[1]; 15 } pos_rec_t;15 } pos_rec_t; 16 16 17 17 /* GPP Type 2 */ … … 23 23 unsigned short etype; 24 24 unsigned char pload[1]; 25 } eth_rec_t;25 } eth_rec_t; 26 26 27 27 /* GPP Type 3 */ … … 29 29 unsigned header; 30 30 unsigned char pload[1]; 31 } atm_rec_t;31 } atm_rec_t; 32 32 33 33 /* GPP Type 4 */ … … 35 35 unsigned header; 36 36 unsigned char pload[1]; 37 } aal5_rec_t;37 } aal5_rec_t; 38 38 39 39 typedef struct flags { … … 44 44 unsigned char dserror:1; 45 45 unsigned char pad:2; 46 } flags_t;46 } __attribute__((packed)) flags_t; 47 47 48 48 /* GPP Global type */ … … 60 60 aal5_rec_t aal5; 61 61 } rec; 62 } dag_record_t;62 } __attribute__((packed)) dag_record_t; 63 63 64 64 #define dag_record_size 16
Note: See TracChangeset
for help on using the changeset viewer.