Searched refs:ndo_snaplen (Results 1 – 3 of 3) sorted by relevance
996 status = pcap_set_snaplen(pc, ndo->ndo_snaplen); in open_interface()1076 pc = pcap_open_live(device, ndo->ndo_snaplen, !pflag, 1000, ebuf); in open_interface()1142 ndo->ndo_snaplen = DEFAULT_SNAPLEN; in main()1368 ndo->ndo_snaplen = strtol(optarg, &end, 0); in main()1370 || ndo->ndo_snaplen < 0 || ndo->ndo_snaplen > MAXIMUM_SNAPLEN) in main()1372 else if (ndo->ndo_snaplen == 0) in main()1373 ndo->ndo_snaplen = MAXIMUM_SNAPLEN; in main()1745 if (ndo->ndo_snaplen < i) { in main()1746 warning("snaplen raised from %d to %d", ndo->ndo_snaplen, i); in main()1747 ndo->ndo_snaplen = i; in main()[all …]
583 ndo->ndo_snaplen = ndo->ndo_snapend - bp; in icmp_print()
173 int ndo_snaplen; member