Changeset 530cef6 for lib/libtrace.h.in
- Timestamp:
- 10/24/08 09:58:02 (14 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:
- 4ba74cc
- Parents:
- 8babb98
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace.h.in
r11c0f44 r530cef6 1219 1219 1220 1220 /** Skips over any 802.1q headers, if present. 1221 * @param ethernet A pointer to the payload following an ethernet header 1222 * -usually the result of calling trace_get_payload_from_link 1221 * @param vlan A pointer to the vlan header 1223 1222 * @param[in,out] type The ethernet type, replaced with the vlan ether type 1224 1223 * @param[in,out] remaining Updated with the number of bytes remaining 1225 1224 * 1226 1225 * @return a pointer to the header beyond the vlan header, if present. 1227 * Otherwise, returns the ethernet payload that was passed in1226 * Otherwise, returns NULL 1228 1227 * 1229 1228 * Remaining may be NULL. If Remaining is not NULL it must point to the number … … 1235 1234 * 1236 1235 */ 1237 DLLEXPORT void *trace_get_ vlan_payload_from_ethernet_payload(1238 void * ethernet_payload, uint16_t *type, uint32_t *remaining);1236 DLLEXPORT void *trace_get_payload_from_vlan( 1237 void *vlan, uint16_t *type, uint32_t *remaining); 1239 1238 1240 1239 /** Skips over any MPLS headers, if present. 1241 * @param ethernet_payload A pointer to the payload following an ethernet 1242 * header - usually the result of calling trace_get_payload_from_link 1240 * @param mpls A pointer to the mpls header 1243 1241 * @param[in,out] type The ethernet type, replaced by the ether type of the 1244 1242 * following header - 0x0000 if an Ethernet header is deemed to be next … … 1261 1259 * 1262 1260 */ 1263 DLLEXPORT void *trace_get_ mpls_payload_from_ethernet_payload(1264 void * ethernet_payload, uint16_t *type, uint32_t *remaining);1261 DLLEXPORT void *trace_get_payload_from_mpls( 1262 void *mpls, uint16_t *type, uint32_t *remaining); 1265 1263 1266 1264 /** Gets a pointer to the payload given a pointer to a tcp header
Note: See TracChangeset
for help on using the changeset viewer.