- Timestamp:
- 04/25/06 20:11:08 (16 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:
- 7fc01569
- Parents:
- 030aa3f
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/dagformat.h
rd8fc342 rbf66333 10 10 #define TYPE_ATM 3 11 11 #define TYPE_AAL5 4 12 13 #ifdef WIN32 14 #pragma pack(push) 15 #pragma pack(1) 16 #endif 12 17 13 18 /** GPP Type 1 */ … … 41 46 /** Flags */ 42 47 typedef struct flags { 43 u nsigned int iface:2;44 u nsigned int vlen:1;45 u nsigned int trunc:1;46 u nsigned int rxerror:1;47 u nsigned int dserror:1;48 u nsigned intpad:2;48 uint8_t iface:2; 49 uint8_t vlen:1; 50 uint8_t trunc:1; 51 uint8_t rxerror:1; 52 uint8_t dserror:1; 53 uint8_t pad:2; 49 54 } PACKED flags_t; 50 55 … … 89 94 } duck_inf; 90 95 96 #ifdef WIN32 97 #pragma pack(pop) 98 #endif 99 91 100 /** sizeof(dag_record_t) without the payload helpers */ 92 101 #define dag_record_size 16 -
lib/libtrace.h
r91db67b rbf66333 118 118 # define SIMPLE_FUNCTION 119 119 # define UNUSED 120 # define PACKED 120 # define PACKED __declspec(align(1)) 121 121 # define CONSTRUCTOR 122 122 #endif
Note: See TracChangeset
for help on using the changeset viewer.