Searched refs:PCAPFSIZ (Results 1 – 3 of 3) sorted by relevance
58 #define PCAPFSIZ 128 macro76 char pcapf[PCAPFSIZ];
101 case 'c': strncpy(pcapf, optarg, PCAPFSIZ); break; in main()129 else { pcapf[PCAPFSIZ-10] = '\0'; strncat(pcapf, " and arp", 8); } in main()
75 #define PCAPFSIZ 512 /* pcap filter string size */ macro139 char filter[PCAPFSIZ] = "ip and port 25 and action pass "166 strlcat(filter, " and on ", PCAPFSIZ);167 strlcat(filter, networkif, PCAPFSIZ);