HomeSort by relevance Sort by last modified time
    Searched refs:snaplen (Results 1 - 23 of 23) sorted by null

  /external/libpcap/tests/
opentest.c 103 int dorfmon, dopromisc, snaplen, useactivate, bufsize; local
111 snaplen = MAXIMUM_SNAPLEN;
139 snaplen = strtol(optarg, &end, 0);
141 || snaplen < 0 || snaplen > MAXIMUM_SNAPLEN)
142 error("invalid snaplen %s", optarg);
143 else if (snaplen == 0)
144 snaplen = MAXIMUM_SNAPLEN;
174 status = pcap_set_snaplen(pd, snaplen);
234 "Usage: %s [ -Ipa ] [ -i interface ] [ -s snaplen ] [ -B bufsize ]\n"
    [all...]
filtertest.c 238 long snaplen; local
261 snaplen = 68;
297 snaplen = strtol(optarg, &end, 0);
299 || snaplen < 0 || snaplen > 65535)
300 error("invalid snaplen %s", optarg);
301 else if (snaplen == 0)
302 snaplen = 65535;
329 pd = pcap_open_dead(dlt, snaplen);
361 "Usage: %s [-dO] [ -F file ] [ -m netmask] [ -s snaplen ] dlt [ expression ]\n"
    [all...]
  /external/libpcap/
pcap-enet.c 76 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap
91 caplen = cc > snaplen ? snaplen : cc ;
remote-ext.h 419 PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *errbuf);
sf-pcap.c 209 hdr.snaplen = SWAPLONG(hdr.snaplen);
235 if (hdr.snaplen > MAXIMUM_SNAPLEN) {
238 "maximum of %u", hdr.snaplen, MAXIMUM_SNAPLEN);
257 p->snapshot = hdr.snaplen;
622 sf_write_header(pcap_t *p, FILE *fp, int linktype, int thiszone, int snaplen)
631 hdr.snaplen = snaplen;
896 if ((bpf_u_int32)p->snapshot != ph.snaplen) {
898 "%s: different snaplen, cannot append to file", fname)
    [all...]
sf-pcap-ng.c 134 bpf_u_int32 snaplen; member in struct:interface_description_block
944 idbp->snaplen = SWAPLONG(idbp->snaplen);
950 if (idbp->snaplen > MAXIMUM_SNAPLEN) {
954 idbp->snaplen, MAXIMUM_SNAPLEN);
988 p->snapshot = idbp->snaplen;
1159 idbp->snaplen = SWAPLONG(idbp->snaplen);
1176 if ((bpf_u_int32)p->snapshot != idbp->snaplen) {
1179 idbp->snaplen);
    [all...]
dlpisubs.c 293 pcap_conf_bufmod(pcap_t *p, int snaplen)
304 ss = snaplen;
pcap-rpcap.h 198 uint32 snaplen; /* Length of the snapshot (number of bytes to capture for each packet) */ member in struct:rpcap_startcapreq
pcap.c 604 pcap_set_snaplen(pcap_t *p, int snaplen)
616 if (snaplen <= 0 || snaplen > MAXIMUM_SNAPLEN)
617 snaplen = MAXIMUM_SNAPLEN;
618 p->snapshot = snaplen;
812 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, char *errbuf)
820 status = pcap_set_snaplen(p, snaplen);
    [all...]
pcap-new.c 897 pcap_t *pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *errbuf)
945 fp->snapshot = snaplen;
952 fp = pcap_open_live(name, snaplen, (flags & PCAP_OPENFLAG_PROMISCUOUS), read_timeout, errbuf);
    [all...]
pcap-dag.c 713 * snaplen is now also ignored, until we get per-stream slen support. Set
833 /* set the card snap length to the specified snaplen parameter */
838 } else if (snaplen < MIN_DAG_SNAPLEN) {
842 pcap_snprintf(conf, 30, "varlen slen=%d", (snaplen + 3) & ~3);
    [all...]
pcap-sita.c 850 static void acn_start_monitor(int fd, int snaplen, int timeout, int promiscuous, int direction) {
858 *(uint32_t *)&buf[1] = htonl(snaplen);
    [all...]
pcap-win32.c 1139 p->snapshot = PacketSetSnapLen(p->adapter, snaplen);
    [all...]
pcap-rpcap.c     [all...]
gencode.c 264 int snaplen; member in struct:_compiler_state
710 cstate.snaplen = pcap_snapshot(p);
711 if (cstate.snaplen == 0) {
713 "snaplen of 0 rejects all packets");
732 cstate.ic.root = gen_retblk(&cstate, cstate.snaplen);
881 backpatch(p, gen_retblk(cstate, cstate->snaplen));
    [all...]
  /external/autotest/server/site_tests/network_WiFi_HiddenScan/
network_WiFi_HiddenScan.py 28 snaplen=packet_capturer.SNAPLEN_WIFI_PROBE_REQUEST)
  /external/autotest/server/site_tests/network_WiFi_VisibleScan/
network_WiFi_VisibleScan.py 39 snaplen=packet_capturer.SNAPLEN_WIFI_PROBE_REQUEST)
  /external/autotest/server/cros/network/
packet_capturer.py 120 remote_file=None, snaplen=None):
126 @param snaplen int ignored.
288 remote_file=None, snaplen=None):
294 @param snaplen int maximum captured frame length.
309 snaplen or 0,
wifi_test_context_manager.py 181 snaplen=self._packet_capture_snaplen)
186 snaplen=self._packet_capture_snaplen)
  /external/autotest/server/site_tests/network_WiFi_RateControl/
network_WiFi_RateControl.py 145 snaplen=self.TEST_SNAPLEN)
  /external/autotest/server/
site_linux_system.py 306 ht_type=None, snaplen=None, filename=None):
311 @param snaplen int number of bytes to retain per capture frame.
337 self._capture_interface, './debug/', snaplen=snaplen,
  /external/webrtc/webrtc/test/
rtp_file_reader.cc 411 uint32_t snaplen; // Max length of captured packets, in octets. local
415 TRY_PCAP(Read(&snaplen, false));
  /external/libpcap/pcap/
pcap.h 130 bpf_u_int32 snaplen; /* max length saved portion of each pkt */ member in struct:pcap_file_header

Completed in 611 milliseconds