Changeset ed3820e for lib


Ignore:
Timestamp:
01/15/09 14:27:32 (13 years ago)
Author:
Perry Lorier <perry@…>
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:
45b7073
Parents:
ad36006
Message:

Try and probe for interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_bpf.c

    r91b72d3 red3820e  
    6969
    7070#define BPFHDR(x) ((struct bpf_hdr *)((x)->header))
     71
     72static int bpf_probe_filename(const char *filename)
     73{
     74        return (if_nametoindex(filename) != 0);
     75}
    7176
    7277static int bpf_start_filename(const char *filename)
Note: See TracChangeset for help on using the changeset viewer.