Changeset 0f42351 for examples/skeleton/complete.c
- Timestamp:
- 04/27/07 23:09:40 (14 years ago)
- 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:
- 4f55f69
- Parents:
- ffe2541
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/skeleton/complete.c
r34ee7eb r0f42351 10 10 #include <stdlib.h> 11 11 12 void per_packet(libtrace_packet_t *packet)12 static void per_packet(libtrace_packet_t *packet) 13 13 { 14 14 /* Your code goes here */ 15 15 } 16 16 17 void usage(char *argv0)17 static void usage(char *argv0) 18 18 { 19 19 fprintf(stderr,"usage: %s [ --filter | -f bpfexp ] [ --snaplen | -s snap ]\n\t\t[ --promisc | -p flag] [ --help | -h ] [ --libtrace-help | -H ] libtraceuri...\n",argv0);
Note: See TracChangeset
for help on using the changeset viewer.