Ignore:
Timestamp:
03/24/05 16:56:06 (16 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:
1b67314
Parents:
23c13e8
Message:

some assorted fixes in the examples tree, to support building under freebsd. Isn't quite there yet.

Changed trace_read_packet to use pcap_next_ex, and to set a timeout of 1ms on pcap_open. This fixes the blocking under freebsd, it seems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/sample/Makefile

    r10b165c r05e83dc  
    99LDLIBS = $(libdir) -ltrace
    1010
    11 BINS = sample
     11BINS = sample printip
    1212.PHONY: all clean distclean install depend
    1313
     
    1515
    1616clean:
    17         $(RM) *~ *.o $(BINS) $(OBJS) core
     17        $(RM) $(BINS) $(OBJS)
    1818
    1919distclean:
    20         $(RM) *~ *.o $(BINS) $(OBJS) core
     20        $(RM) $(BINS) $(OBJS)
    2121
    2222install:
Note: See TracChangeset for help on using the changeset viewer.