/external/libpcap/ |
H A D | pcap-septel.h | 14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
|
H A D | pcap-dag.h | 13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
|
H A D | pcap-null.c | 43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument
|
H A D | pcap-enet.c | 80 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap 95 caplen = cc > snaplen ? snaplen : cc ;
|
H A D | pcap-snit.c | 265 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 281 if (snaplen < 96) 285 snaplen = 96; 347 si.ic_len = sizeof(snaplen); 348 si.ic_dp = (char *)&snaplen; 354 p->snapshot = snaplen;
|
H A D | pcap-nit.c | 250 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 263 if (snaplen < 96) 267 snaplen = 96; 284 p->snapshot = snaplen;
|
H A D | pcap-snoop.c | 198 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 341 if (snaplen > ifr.ifr_mtu + ll_hdrlen) 342 snaplen = ifr.ifr_mtu + ll_hdrlen; 350 snooplen = snaplen - ll_hdrlen; 358 p->snapshot = snaplen;
|
H A D | pcap-septel.c | 209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) { argument 222 handle->snapshot = snaplen;
|
H A D | savefile.c | 854 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen) argument 863 hdr.snaplen = snaplen; 880 hp->snaplen = SWAPLONG(hp->snaplen); 1046 p->snapshot = hdr.snaplen; 1072 p->bufsize = hdr.snaplen; 1075 p->bufsize = hdr.snaplen+sizeof(struct pcap_pkthdr);
|
H A D | pcap-pf.c | 296 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 454 snaplen += PCAP_FDDIPAD; 458 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&snaplen) < 0) { 463 p->snapshot = snaplen;
|
H A D | 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) argument 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...] |
H A D | pcap-win32.c | 393 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 554 p->snapshot = snaplen; 609 p->snapshot = PacketSetSnapLen(p->adapter, snaplen);
|
H A D | pcap-bpf.c | 593 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 613 return dag_open_live(device, snaplen, promisc, to_ms, ebuf); 633 p->snapshot = snaplen; 967 total_insn.k = snaplen;
|
H A D | pcap.h | 119 bpf_u_int32 snaplen; /* max length saved portion of each pkt */ member in struct:pcap_file_header
|
H A D | pcap-dos.c | 149 pcap_t *pcap_open_live (const char *device_name, int snaplen, int promisc, argument 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);
|
H A D | pcap-linux.c | 237 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 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:
|
H A D | pcap.c | 756 pcap_open_dead(int linktype, int snaplen) argument 764 p->snapshot = snaplen;
|
H A D | pcap-dlpi.c | 460 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 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",
|
H A D | 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));
|
/external/qemu/ |
H A D | tcpdump.c | 52 uint32_t snaplen; member in struct:__anon25050 63 h.snaplen = PCAP_SNAPLEN;
|
H A D | net-android.c | 2039 uint32_t snaplen; member in struct:pcap_file_hdr 2110 hdr.snaplen = s->pcap_caplen;
|
/external/tcpdump/ |
H A D | print-cnfp.c | 116 snaplen -= 24; 119 snaplen -= 16;
|
H A D | 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, [all...] |
H A D | interface.h | 369 #define snaplen gndo->ndo_snaplen macro
|
H A D | print-icmp.c | 582 snaplen = snapend - bp;
|