Searched refs:newfilter (Results 1 – 1 of 1) sorted by relevance
1614 char *newfilter; in pcap_createfilter_norpcappkt() local1665 newfilter = (char *)malloc(currentfiltersize + newstringsize + 1); in pcap_createfilter_norpcappkt()1669 pcap_snprintf(newfilter, currentfiltersize + newstringsize, in pcap_createfilter_norpcappkt()1675 pcap_snprintf(newfilter, currentfiltersize + newstringsize, in pcap_createfilter_norpcappkt()1680 newfilter[currentfiltersize + newstringsize] = 0; in pcap_createfilter_norpcappkt()1689 if (pcap_compile(fp, prog, newfilter, 1, 0) == -1) in pcap_createfilter_norpcappkt()1695 free(newfilter); in pcap_createfilter_norpcappkt()