Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

protocols.h

00001 /* These are protocol decoders that haven't yet seen enough use to consider
00002  * their API stable enough to move into libtrace.h where they probably belong
00003  *
00004  * These API's are not stable enough to be exported from libtrace and used
00005  * by user code
00006  *
00007  * These are generally used by the next higher level, so really we should
00008  * be defining API's that mean that these don't need to be known by the
00009  * higher level.
00010  */
00011 
00012 /* pkt meta headers */
00013 
00014 /* l2 headers */
00015 void *trace_get_mpls_payload_from_ethernet_payload(void *ethernet,
00016                 uint16_t *type, uint32_t *remaining);
00017 void *trace_get_payload_from_ethernet(void *ethernet, 
00018                 uint16_t *type,
00019                 uint32_t *remaining);
00020 /* l3 definitions */
00021 struct ports_t {
00022         uint16_t src;
00023         uint16_t dst;
00024 };
00025 
00026 

Generated on Thu Jan 3 10:28:47 2008 for WAND Trace processing by  doxygen 1.4.2