source: lib/protocols.h @ a07a0ec

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since a07a0ec was a07a0ec, checked in by Perry Lorier <perry@…>, 14 years ago

These protocols no longer need to be exported

  • Property mode set to 100644
File size: 737 bytes
Line 
1/* These are protocol decoders that haven't yet seen enough use to consider
2 * their API stable enough to move into libtrace.h where they probably belong
3 *
4 * These API's are not stable enough to be exported from libtrace and used
5 * by user code
6 *
7 * These are generally used by the next higher level, so really we should
8 * be defining API's that mean that these don't need to be known by the
9 * higher level.
10 */
11
12/* pkt meta headers */
13
14/* l2 headers */
15void *trace_get_mpls_payload_from_ethernet_payload(void *ethernet,
16                uint16_t *type, uint32_t *remaining);
17void *trace_get_payload_from_ethernet(void *ethernet, 
18                uint16_t *type,
19                uint32_t *remaining);
20/* l3 definitions */
21struct ports_t {
22        uint16_t src;
23        uint16_t dst;
24};
25
26
Note: See TracBrowser for help on using the repository browser.