diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-01-18 13:36:27 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-01-18 13:36:27 -0800 |
commit | 2a6286aa06b043240dd8c3524668455562d466d8 (patch) | |
tree | 062ee1df238c3e113a0451e60bb2b030867ffb17 /pcap-septel.c | |
parent | 5fa9ce62e3235688ce3ed5928cbce7754ec6291c (diff) |
Have a pcap_if_list_t structure for use by the findalldevs code.
It's not part of the API, but it's an internal structure used by the
findalldevs code. Currently, it just has a pointer to the beginning of
the list, but it could change in order to speed up the process of adding
to the list.
Diffstat (limited to 'pcap-septel.c')
-rw-r--r-- | pcap-septel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pcap-septel.c b/pcap-septel.c index e15b1d33..dc120dd5 100644 --- a/pcap-septel.c +++ b/pcap-septel.c @@ -252,7 +252,7 @@ static int septel_stats(pcap_t *p, struct pcap_stat *ps) { int -septel_findalldevs(pcap_if_t **devlistp, char *errbuf) +septel_findalldevs(pcap_if_list_t *devlistp, char *errbuf) { if (add_dev(devlistp,"septel",0,"Intel/Septel device",errbuf) == NULL) return -1; @@ -303,9 +303,8 @@ septel_setnonblock(pcap_t *p, int nonblock, char *errbuf) * There are no regular interfaces, just Septel interfaces. */ int -pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) +pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) { - *alldevsp = NULL; return (0); } |