Home
last modified time | relevance | path

Searched refs:MAXIMUM_SNAPLEN (Results 1 – 8 of 8) sorted by relevance

/external/libpcap/tests/
Dopentest.c40 #define MAXIMUM_SNAPLEN 65535 macro
111 snaplen = MAXIMUM_SNAPLEN; in main()
141 || snaplen < 0 || snaplen > MAXIMUM_SNAPLEN) in main()
144 snaplen = MAXIMUM_SNAPLEN; in main()
/external/libpcap/
Dsf-pcap.c235 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()
Dpcap-int.h108 #define MAXIMUM_SNAPLEN 262144 macro
Dsf-pcap-ng.c950 if (idbp->snaplen > MAXIMUM_SNAPLEN) { in pcap_ng_check_header()
954 idbp->snaplen, MAXIMUM_SNAPLEN); in pcap_ng_check_header()
Dpcap.c575 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()
Dpcap-linux.c4169 req.tp_frame_size = MAXIMUM_SNAPLEN;
6660 p->k = MAXIMUM_SNAPLEN;
/external/tcpdump/
Dnetdissect.h263 #define MAXIMUM_SNAPLEN 262144 macro
268 #define DEFAULT_SNAPLEN MAXIMUM_SNAPLEN
Dtcpdump.c1370 || ndo->ndo_snaplen < 0 || ndo->ndo_snaplen > MAXIMUM_SNAPLEN) in main()
1373 ndo->ndo_snaplen = MAXIMUM_SNAPLEN; in main()