Home
last modified time | relevance | path

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

12

/external/libpcap/testprogs/
Dopentest.c48 #define MAXIMUM_SNAPLEN 65535 macro
71 snaplen = MAXIMUM_SNAPLEN; in main()
101 || snaplen < 0 || snaplen > MAXIMUM_SNAPLEN) in main()
104 snaplen = MAXIMUM_SNAPLEN; in main()
/external/libpcap/
Dpcap-septel.c209 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) in septel_activate()
210 handle->snapshot = MAXIMUM_SNAPLEN; in septel_activate()
Dpcap-bt-monitor-linux.c193 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) in bt_monitor_activate()
194 handle->snapshot = MAXIMUM_SNAPLEN; in bt_monitor_activate()
Dpcap-netmap.c255 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_netmap_activate()
256 p->snapshot = MAXIMUM_SNAPLEN; in pcap_netmap_activate()
Dpcap-nit.c282 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_nit()
283 p->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_nit()
Dpcap-snit.c308 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_snit()
309 p->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_snit()
Dpcap-libdlpi.c148 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_libdlpi()
149 p->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_libdlpi()
Dpcap-bt-linux.c210 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) in bt_activate()
211 handle->snapshot = MAXIMUM_SNAPLEN; in bt_activate()
Dpcap-snoop.c334 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_snoop()
335 p->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_snoop()
Dpcap-pf.c355 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_pf()
356 p->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_pf()
Dpcap-snf.c306 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in snf_activate()
307 p->snapshot = MAXIMUM_SNAPLEN; in snf_activate()
Dpcap-int.h93 #define MAXIMUM_SNAPLEN 262144 macro
Dpcap-netfilter-linux.c556 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) in netfilter_activate()
557 handle->snapshot = MAXIMUM_SNAPLEN; in netfilter_activate()
Dpcap-usb-linux.c526 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) in usb_activate()
527 handle->snapshot = MAXIMUM_SNAPLEN; in usb_activate()
Dpcap-common.c1254 return MAXIMUM_SNAPLEN; in max_snaplen_for_dlt()
Dpcap-dag.c832 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in dag_activate()
833 p->snapshot = MAXIMUM_SNAPLEN; in dag_activate()
Dpcap-dos.c185 if (pcap->snapshot <= 0 || pcap->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_dos()
186 pcap->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_dos()
Dpcap-dlpi.c656 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN)
657 p->snapshot = MAXIMUM_SNAPLEN;
Dpcap-sita.c1021 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_sita()
1022 handle->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_sita()
Dpcap-tc.c582 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in TcActivate()
583 p->snapshot = MAXIMUM_SNAPLEN; in TcActivate()
Dpcap-npf.c1022 if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN) in pcap_activate_npf()
1023 p->snapshot = MAXIMUM_SNAPLEN; in pcap_activate_npf()
Dsf-pcapng.c903 ps->max_blocksize = MAX_BLOCKSIZE(MAXIMUM_SNAPLEN); in pcap_ng_check_header()
Dpcap-linux.c1509 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN)
1510 handle->snapshot = MAXIMUM_SNAPLEN;
4434 req.tp_frame_size = MAXIMUM_SNAPLEN;
6929 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()

12