Searched refs:tmpstring (Results 1 – 1 of 1) sorted by relevance
/external/libpcap/ |
D | pcap-new.c | 104 …char tmpstring[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax … in pcap_findalldevs_ex() local 132 tmpstring[PCAP_BUF_SIZE] = 0; in pcap_findalldevs_ex() 152 if (pcap_createsrcstr(tmpstring, PCAP_SRC_IFLOCAL, NULL, NULL, dev->name, errbuf) == -1) in pcap_findalldevs_ex() 159 dev->name = strdup(tmpstring); in pcap_findalldevs_ex() 168 pcap_snprintf(tmpstring, sizeof(tmpstring) - 1, "%s '%s' %s", PCAP_TEXT_SOURCE_ADAPTER, in pcap_findalldevs_ex() 171 pcap_snprintf(tmpstring, sizeof(tmpstring) - 1, "%s '%s' %s", PCAP_TEXT_SOURCE_ADAPTER, in pcap_findalldevs_ex() 178 dev->description = strdup(tmpstring); in pcap_findalldevs_ex() 294 if (pcap_createsrcstr(tmpstring, PCAP_SRC_FILE, NULL, NULL, filename, errbuf) == -1) in pcap_findalldevs_ex() 297 stringlen = strlen(tmpstring); in pcap_findalldevs_ex() 306 strlcpy(dev->name, tmpstring, stringlen); in pcap_findalldevs_ex() [all …]
|