Searched refs:MAXIMUM_SNAPLEN (Results 1 – 8 of 8) sorted by relevance
40 #define MAXIMUM_SNAPLEN 65535 macro111 snaplen = MAXIMUM_SNAPLEN; in main()141 || snaplen < 0 || snaplen > MAXIMUM_SNAPLEN) in main()144 snaplen = MAXIMUM_SNAPLEN; in main()
235 if (hdr.snaplen > MAXIMUM_SNAPLEN) { in pcap_check_header()238 "maximum of %u", hdr.snaplen, MAXIMUM_SNAPLEN); in pcap_check_header()399 p->bufsize = MAXIMUM_SNAPLEN; in pcap_check_header()529 if (hdr->caplen > MAXIMUM_SNAPLEN) { in pcap_next_packet()532 "maximum of %u", hdr->caplen, MAXIMUM_SNAPLEN); in pcap_next_packet()
108 #define MAXIMUM_SNAPLEN 262144 macro
950 if (idbp->snaplen > MAXIMUM_SNAPLEN) { in pcap_ng_check_header()954 idbp->snaplen, MAXIMUM_SNAPLEN); in pcap_ng_check_header()
575 p->snapshot = MAXIMUM_SNAPLEN; /* max packet size */ in pcap_create_common()616 if (snaplen <= 0 || snaplen > MAXIMUM_SNAPLEN) in pcap_set_snaplen()617 snaplen = MAXIMUM_SNAPLEN; in pcap_set_snaplen()
4169 req.tp_frame_size = MAXIMUM_SNAPLEN;6660 p->k = MAXIMUM_SNAPLEN;
263 #define MAXIMUM_SNAPLEN 262144 macro268 #define DEFAULT_SNAPLEN MAXIMUM_SNAPLEN
1370 || ndo->ndo_snaplen < 0 || ndo->ndo_snaplen > MAXIMUM_SNAPLEN) in main()1373 ndo->ndo_snaplen = MAXIMUM_SNAPLEN; in main()