Changeset 7e758fc for lib/libtrace.h.in


Ignore:
Timestamp:
09/21/06 16:09:32 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
8889370
Parents:
470afa7
Message:

Exported trace_get_payload_from_ip6 as wdcap now uses it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    rbad6a93 r7e758fc  
    852852                uint32_t *remaining);
    853853
     854/** Gets a pointer to the payload given a pointer to the IPv6 header
     855 * @param ipptr         The IPv6 Header
     856 * @param[out] proto    An output variable of the protocol of the next header
     857 * @param[in,out] remaining Updated with the number of bytes remaining
     858 *
     859 * @return a pointer to the transport layer header, or NULL if the IPv6 header isn't complete.
     860 *
     861 * Remaining may be NULL.  If Remaining is not NULL it must point to the number
     862 * of bytes captured of the IP header and beyond.  It will be updated after this
     863 * function to the number of bytes remaining after the IP header (and any IP options)
     864 * have been removed.
     865 *
     866 * proto may be NULL if not needed.
     867 *
     868 */
     869DLLEXPORT void *trace_get_payload_from_ip6(libtrace_ip6_t *ipptr,
     870                uint8_t *prot, uint32_t *remaining);
     871
    854872/** Gets a pointer to the payload given a pointer to the link header
    855873 * @param ip            The link pointer
Note: See TracChangeset for help on using the changeset viewer.