Changeset 17ffb8a for lib/libtrace.h
- Timestamp:
- 10/21/05 15:06:26 (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:
- 006bbf7
- Parents:
- 41660d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h
ra2a1fa5 r17ffb8a 122 122 struct in_addr ip_src; /**< source address */ 123 123 struct in_addr ip_dst; /**< dest address */ 124 } __attribute__ (( __packed__));124 } __attribute__ ((packed)); 125 125 126 126 /** Structure for dealing with TCP packets */ … … 157 157 u_int16_t check; /**< Checksum */ 158 158 u_int16_t urg_ptr; /**< Urgent Pointer */ 159 } __attribute__ (( __packed__));159 } __attribute__ ((packed)); 160 160 161 161 /** UDP Header for dealing with UDP packets */ … … 165 165 u_int16_t len; /**< Length */ 166 166 u_int16_t check; /**< Checksum */ 167 } __attribute__ (( __packed__));167 } __attribute__ ((packed)); 168 168 169 169 /** ICMP Header for dealing with icmp packets */ … … 187 187 } frag; /**< path mtu discovery */ 188 188 } un; /**< Union for payloads of various icmp codes */ 189 } __attribute__ (( __packed__));189 } __attribute__ ((packed)); 190 190 191 191 /** 802.3 frame */ … … 195 195 u_int8_t ether_shost[6]; /* source ether addr */ 196 196 u_int16_t ether_type; /* packet type ID field (next-header) */ 197 } __attribute__ (( __packed__));197 } __attribute__ ((packed)); 198 198 199 199 /** 802.1Q frame */ … … 207 207 u_int16_t vlan_id:12; /* vlan id */ 208 208 u_int16_t vlan_ether_type; /* vlan sub-packet type ID field (next-header)*/ 209 } __attribute__ (( __packed__));209 } __attribute__ ((packed)); 210 210 211 211 /** Prints help information for libtrace
Note: See TracChangeset
for help on using the changeset viewer.