Changeset c3e5f30


Ignore:
Timestamp:
04/26/06 16:06:08 (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:
ae66bde
Parents:
b333d68
Message:

Fixed the Makefile to include libtraceio.h when doing a 'make dist'
Multiple rt clients no longer share the same reliability variable

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    r7b2a39b rc3e5f30  
    11lib_LTLIBRARIES = libtrace.la
    2 include_HEADERS = libtrace.h dagformat.h wag.h lt_inttypes.h daglegacy.h rt_protocol.h
     2include_HEADERS = libtrace.h dagformat.h wag.h lt_inttypes.h daglegacy.h rt_protocol.h libtraceio.h
    33
    44extra_DIST = format_template.c
     
    77                format_rt.c format_helper.c format_helper.h format_pcapfile.c \
    88                parse_cmd.c parse_cmd.h libtrace_int.h lt_inttypes.h \
    9                 linktypes.c protocols.c
     9                linktypes.c protocols.c libtraceio.h
    1010if HAVE_NETPACKET_PACKET_H
    1111libtrace_la_SOURCES+=format_linux.c
  • lib/format_rt.c

    r91db67b rc3e5f30  
    5353
    5454#define RT_INFO ((struct rt_format_data_t*)libtrace->format_data)
    55 
    56 int reliability = 0;
    5755
    5856char *rt_deny_reason(uint8_t reason) {
     
    174172                                return -1;
    175173                        }
    176                         reliability = hello_opts.reliable;
     174                        RT_INFO->reliable = hello_opts.reliable;
    177175                       
    178176                        return 0;
     
    489487                rt_set_payload(packet);
    490488
    491                 if (reliability > 0) {
    492                        
     489                if (RT_INFO->reliable > 0) {
    493490                        if (rt_send_ack(libtrace, pkt_hdr->sequence)
    494491                                        == -1)
Note: See TracChangeset for help on using the changeset viewer.