Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:Pflag

109 int Pflag = -1;	/* Restrict captured packet by sent/receive direction */
972 ++pflag;
981 Pflag = PCAP_D_IN;
983 Pflag = PCAP_D_OUT;
985 Pflag = PCAP_D_INOUT;
1282 status = pcap_set_promisc(pd, !pflag);
1343 if (Pflag != -1) {
1344 status = pcap_setdirection(pd, Pflag);
1352 pd = pcap_open_live(device, snaplen, !pflag, 1000, ebuf);