Lines Matching defs:type
76 int type;
96 * Determine the type of the source (file, local, remote)
101 * to use a first time this function to get the source type, and a second time to get the appropriate
102 * info, which depends on the source type.
104 if (pcap_parsesrcstr(source, &type, NULL, NULL, NULL, errbuf) == -1)
107 switch (type)
110 if (pcap_parsesrcstr(source, &type, NULL, NULL, NULL, errbuf) == -1)
190 if (pcap_parsesrcstr(source, &type, NULL, NULL, name, errbuf) == -1)
349 pcap_strlcpy(errbuf, "Source type not supported", PCAP_ERRBUF_SIZE);
357 int type;
378 * Determine the type of the source (file, local, remote) and,
381 if (pcap_parsesrcstr(source, &type, NULL, NULL, name, errbuf) == -1)
384 switch (type)
403 pcap_strlcpy(errbuf, "Source type not supported", PCAP_ERRBUF_SIZE);