Changeset 3fe7937 for swig/libtrace.i


Ignore:
Timestamp:
12/09/04 17:53:09 (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:
b49264a
Parents:
68d4cd7
Message:

check for fragmented packet- if so, don't return TCP header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/libtrace.i

    rf2794ea r3fe7937  
    184184                return trace_get_link_type(self);
    185185        }
    186         uint8_t trace_get_direction() {
     186        int8_t trace_get_direction() {
    187187                return trace_get_direction(self);
     188        }
     189        int8_t trace_set_direction(int8_t direction) {
     190                return trace_set_direction(self,direction);
    188191        }
    189192        int trace_bpf_filter(struct libtrace_filter_t *filter) {
    190193                return trace_bpf_filter(filter,self);
     194        }
     195        uint8_t trace_get_server_port(uint8_t protocol, uint16_t source,
     196                        uint16_t dest) {
     197                return trace_get_server_port(protocol,source,dest);
    191198        }
    192199       
Note: See TracChangeset for help on using the changeset viewer.