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

1 2

  /external/libpcap/
pcap-septel.h 14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
pcap-dag.h 13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
pcap-null.c 43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
pcap-enet.c 80 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap
95 caplen = cc > snaplen ? snaplen : cc ;
pcap-snit.c 265 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
281 if (snaplen < 96)
285 snaplen = 96;
347 si.ic_len = sizeof(snaplen);
348 si.ic_dp = (char *)&snaplen;
354 p->snapshot = snaplen;
pcap-nit.c 250 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
263 if (snaplen < 96)
267 snaplen = 96;
284 p->snapshot = snaplen;
pcap-snoop.c 198 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
341 if (snaplen > ifr.ifr_mtu + ll_hdrlen)
342 snaplen = ifr.ifr_mtu + ll_hdrlen;
350 snooplen = snaplen - ll_hdrlen;
358 p->snapshot = snaplen;
pcap-septel.c 209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) {
222 handle->snapshot = snaplen;
savefile.c 854 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen)
863 hdr.snaplen = snaplen;
880 hp->snaplen = SWAPLONG(hp->snaplen);
1046 p->snapshot = hdr.snaplen;
    [all...]
pcap-pf.c 296 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
454 snaplen += PCAP_FDDIPAD;
458 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&snaplen) < 0) {
463 p->snapshot = snaplen;
pcap-dag.c 491 * snaplen is now also ignored, until we get per-stream slen support. Set
497 dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf)
611 /* set the card snap length to the specified snaplen parameter */
614 if (snaplen == 0 || snaplen > MAX_DAG_SNAPLEN) {
615 snaplen = MAX_DAG_SNAPLEN;
616 } else if (snaplen < MIN_DAG_SNAPLEN) {
617 snaplen = MIN_DAG_SNAPLEN;
620 snprintf(conf, 30, "varlen slen=%d", (snaplen + 3) & ~3);
668 handle->snapshot = snaplen;
    [all...]
pcap-win32.c 393 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
554 p->snapshot = snaplen;
609 p->snapshot = PacketSetSnapLen(p->adapter, snaplen);
pcap-bpf.c 593 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
613 return dag_open_live(device, snaplen, promisc, to_ms, ebuf);
633 p->snapshot = snaplen;
967 total_insn.k = snaplen;
pcap.h 119 bpf_u_int32 snaplen; /* max length saved portion of each pkt */ member in struct:pcap_file_header
pcap-dos.c 149 pcap_t *pcap_open_live (const char *device_name, int snaplen, int promisc,
154 if (snaplen < ETH_MIN)
155 snaplen = ETH_MIN;
157 if (snaplen > ETH_MAX) /* silently accept and truncate large MTUs */
158 snaplen = ETH_MAX;
167 pcap->snapshot = max (ETH_MIN+8, snaplen);
    [all...]
pcap-linux.c 237 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
248 return dag_open_live(device, snaplen, promisc, to_ms, ebuf);
254 return septel_open_live(device, snaplen, promisc, to_ms, ebuf);
270 handle->snapshot = snaplen;
650 * cuts the packet at the snaplen:
    [all...]
pcap.c 756 pcap_open_dead(int linktype, int snaplen)
764 p->snapshot = snaplen;
pcap-dlpi.c 460 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
618 p->snapshot = snaplen;
867 ** less than snaplen size it strips data from the beginning not
873 ss = snaplen;
879 "WARNING: bufmod is broken in SunOS %s; ignoring snaplen.\n",
    [all...]
gencode.c 357 static int snaplen; variable
380 snaplen = pcap_snapshot(p);
381 if (snaplen == 0) {
383 "snaplen of 0 rejects all packets");
395 root = gen_retblk(snaplen);
501 backpatch(p, gen_retblk(snaplen));
    [all...]
  /external/qemu/
tcpdump.c 52 uint32_t snaplen; member in struct:__anon28379
63 h.snaplen = PCAP_SNAPLEN;
net-android.c 2039 uint32_t snaplen; member in struct:pcap_file_hdr
    [all...]
  /external/tcpdump/
print-cnfp.c 116 snaplen -= 24;
119 snaplen -= 16;
tcpdump.c 687 snaplen = strtol(optarg, &end, 0);
689 || snaplen < 0 || snaplen > 65535)
690 error("invalid snaplen %s", optarg);
691 else if (snaplen == 0)
692 snaplen = 65535;
888 pd = pcap_open_live(device, snaplen, !pflag, 1000, ebuf);
928 if (snaplen < i) {
929 warning("snaplen raised from %d to %d", snaplen, i)
    [all...]
interface.h 369 #define snaplen gndo->ndo_snaplen macro
print-icmp.c 582 snaplen = snapend - bp;

Completed in 249 milliseconds

1 2