Changeset 1607
- Timestamp:
- 07/16/10 14:36:48 (3 years ago)
- File:
-
- 1 edited
-
trunk/lib/format_bpf.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/format_bpf.c
r1508 r1607 55 55 #include <errno.h> 56 56 #include <fcntl.h> 57 #include <unistd.h> 57 58 58 59 /* This format deals with the BSD Native capture format, perhaps better … … 102 103 } 103 104 104 /* XXX This function doesn't appear to be used anywhere - nor does it do105 * anything particularly useful :) */106 static int bpf_start_filename(const char *filename)107 {108 return 0;109 }110 111 105 /* Initialises a BPF input trace */ 112 106 static int bpf_init_input(libtrace_t *libtrace) … … 448 442 449 443 /* Returns the direction for a given BPF packet record */ 450 static libtrace_direction_t bpf_get_direction(const libtrace_packet_t *packet ) {444 static libtrace_direction_t bpf_get_direction(const libtrace_packet_t *packet UNUSED) { 451 445 /* BPF sadly can't do direction tagging */ 452 446 return ~0; … … 508 502 "$Id$", 509 503 TRACE_FORMAT_BPF, 510 //bpf_probe_filename, /* probe filename */ 511 NULL, 504 bpf_probe_filename, /* probe filename */ 512 505 NULL, /* probe magic */ 513 506 bpf_init_input, /* init_input */
Note: See TracChangeset
for help on using the changeset viewer.
