Home
last modified time | relevance | path

Searched refs:alldevs (Results 1 – 8 of 8) sorted by relevance

/external/libpcap/
Dpcap-new.c69 int pcap_findalldevs_ex(char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf) in pcap_findalldevs_ex() argument
79 (*alldevs) = NULL; in pcap_findalldevs_ex()
110 if (pcap_findalldevs(alldevs, errbuf) == -1) in pcap_findalldevs_ex()
113 if (*alldevs == NULL) in pcap_findalldevs_ex()
123 dev = *alldevs; in pcap_findalldevs_ex()
140 pcap_freealldevs(*alldevs); in pcap_findalldevs_ex()
162 pcap_freealldevs(*alldevs); in pcap_findalldevs_ex()
257 pcap_freealldevs(*alldevs); in pcap_findalldevs_ex()
271 *alldevs = dev; in pcap_findalldevs_ex()
286 pcap_freealldevs(*alldevs); in pcap_findalldevs_ex()
[all …]
Dpcap-rpcap.h47 pcap_if_t **alldevs, char *errbuf);
Dpcap.c1197 pcap_freealldevs(pcap_if_t *alldevs)
1202 for (curdev = alldevs; curdev != NULL; curdev = nextdev) {
1259 pcap_if_t *alldevs;
1280 if (pcap_findalldevs(&alldevs, errbuf) == -1)
1283 if (alldevs == NULL || (alldevs->flags & PCAP_IF_LOOPBACK)) {
1302 (void)strlcpy(device, alldevs->name, sizeof(device));
1306 pcap_freealldevs(alldevs);
Dpcap-rpcap.c2344 pcap_findalldevs_ex_remote(char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errb… in pcap_findalldevs_ex_remote() argument
2362 (*alldevs) = NULL; in pcap_findalldevs_ex_remote()
2488 *alldevs = dev; in pcap_findalldevs_ex_remote()
2692 pcap_freealldevs(*alldevs); in pcap_findalldevs_ex_remote()
/external/libpcap/testprogs/
Dfindalldevstest.c99 pcap_if_t *alldevs; in main() local
114 if (pcap_findalldevs_ex(argv[1], NULL, &alldevs, errbuf) == -1) in main()
129 if (pcap_findalldevs_ex(argv[1], &auth, &alldevs, errbuf) == -1) in main()
139 if (pcap_findalldevs(&alldevs, errbuf) == -1) in main()
145 for(d=alldevs;d;d=d->next) in main()
151 if (alldevs != NULL) in main()
153 if (pcap_lookupnet(alldevs->name, &net, &mask, errbuf) < 0) in main()
164 pcap_freealldevs(alldevs); in main()
/external/autotest/client/tests/btreplay/
Dbtreplay.py46 alldevs = "-d /dev/" + dev
49 alldevs += " -d /dev/" + d
69 utils.system("./blktrace -D %s %s >/dev/null &" % (tmpdir, alldevs))
/external/libpcap/rpcapd/
Ddaemon.c1257 pcap_if_t *alldevs = NULL; // pointer to the header of the interface chain in daemon_msg_findallif_req() local
1271 if (pcap_findalldevs(&alldevs, errmsgbuf) == -1) in daemon_msg_findallif_req()
1274 if (alldevs == NULL) in daemon_msg_findallif_req()
1289 for (d = alldevs; d != NULL; d = d->next) in daemon_msg_findallif_req()
1330 for (d = alldevs; d != NULL; d = d->next) in daemon_msg_findallif_req()
1427 pcap_freealldevs(alldevs); in daemon_msg_findallif_req()
1439 if (alldevs) in daemon_msg_findallif_req()
1440 pcap_freealldevs(alldevs); in daemon_msg_findallif_req()
/external/libpcap/pcap/
Dpcap.h862 pcap_if_t **alldevs, char *errbuf);