Changeset d95447b for lib/libtrace.h
- Timestamp:
- 09/27/04 13:56:08 (18 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:
- 8043ced
- Parents:
- 7e05fbe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h
r5c5b47b rd95447b 66 66 * and of zlib which are compiled for largefile support (if you wish to access 67 67 * traces larger than 2 GB). This is left as an exercise for the reader. Debian 68 * Woody, at least, does not support large file soffsets.68 * Woody, at least, does not support large file offsets. 69 69 * 70 70 */ … … 132 132 # elif BYTE_ORDER == BIG_ENDIAN 133 133 u_int16_t doff:4; 134 u_int16_t res1:4; 135 u_int16_t res2:2; 136 u_int16_t urg:1; 137 u_int16_t ack:1; 138 u_int16_t psh:1; 139 u_int16_t rst:1; 140 u_int16_t syn:1; 141 u_int16_t fin:1; 134 u_int16_t res1:4; /**< Reserved bits */ 135 u_int16_t res2:2; /**< Reserved */ 136 u_int16_t urg:1; /**< URG flag */ 137 u_int16_t ack:1; /**< ACK flag */ 138 u_int16_t psh:1; /**< PuSH flag */ 139 u_int16_t rst:1; /**< RST flag */ 140 u_int16_t syn:1; /**< SYN flag */ 141 u_int16_t fin:1; /**< FIN flag */ 142 142 # else 143 143 # error "Adjust your <bits/endian.h> defines" … … 159 159 struct libtrace_icmp 160 160 { 161 u_int8_t type; /* message type */162 u_int8_t code; /* type sub-code */163 u_int16_t checksum; 161 u_int8_t type; /**< message type */ 162 u_int8_t code; /**< type sub-code */ 163 u_int16_t checksum; /**< checksum */ 164 164 union 165 165 { … … 168 168 u_int16_t id; 169 169 u_int16_t sequence; 170 } echo; /* echo datagram */171 u_int32_t gateway; /* gateway address */170 } echo; /**< echo datagram */ 171 u_int32_t gateway; /**< gateway address */ 172 172 struct 173 173 { 174 174 u_int16_t unused; 175 175 u_int16_t mtu; 176 } frag; /* path mtu discovery */176 } frag; /**< path mtu discovery */ 177 177 } un; 178 178 };
Note: See TracChangeset
for help on using the changeset viewer.