Changeset 83e0a25 for lib/libtrace.h


Ignore:
Timestamp:
10/06/04 14:16:40 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
cd6034c
Parents:
10814d7
Message:

poink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r10814d7 r83e0a25  
    385385                struct libtrace_packet_t *packet);
    386386
     387
     388typedef enum {USE_DEST, USE_SOURCE} serverport_t;
     389
     390/** hint at the server port in specified protocol
     391 * @param protocol      the IP layer protocol, eg 6 (tcp), 17 (udp)
     392 * @param source        the source port from the packet
     393 * @param dest          the destination port from the packet
     394 * @returns one of USE_SOURCE or USE_DEST depending on which one you should use
     395 * @author Daniel Lawson
     396 */
     397int8_t trace_get_server_port(uint8_t protocol, uint16_t source, uint16_t dest);
     398
    387399#ifdef __cplusplus
    388400} // extern "C"
Note: See TracChangeset for help on using the changeset viewer.