/external/libpcap/tests/ |
D | opentest.c | 54 int dorfmon, dopromisc, snaplen, useactivate, bufsize; in main() local 62 snaplen = MAXIMUM_SNAPLEN; in main() 90 snaplen = strtol(optarg, &end, 0); in main() 92 || snaplen < 0 || snaplen > MAXIMUM_SNAPLEN) in main() 94 else if (snaplen == 0) in main() 95 snaplen = MAXIMUM_SNAPLEN; in main() 120 status = pcap_set_snaplen(pd, snaplen); in main()
|
D | filtertest.c | 167 long snaplen; in main() local 181 snaplen = 68; in main() 217 snaplen = strtol(optarg, &end, 0); in main() 219 || snaplen < 0 || snaplen > 65535) in main() 221 else if (snaplen == 0) in main() 222 snaplen = 65535; in main() 246 pd = pcap_open_dead(dlt, snaplen); in main()
|
D | pcap_compile_test.c | 1 pcap = pcap_open_dead(link, snaplen);
|
/external/libpcap/ |
D | pcap-enet.c | 80 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap in readloop() 95 caplen = cc > snaplen ? snaplen : cc ; in readloop()
|
D | sf-pcap.c | 209 hdr.snaplen = SWAPLONG(hdr.snaplen); in pcap_check_header() 234 p->snapshot = hdr.snaplen; in pcap_check_header() 569 sf_write_header(pcap_t *p, FILE *fp, int linktype, int thiszone, int snaplen) in sf_write_header() argument 578 hdr.snaplen = snaplen; in sf_write_header()
|
D | sf-pcap-ng.c | 133 bpf_u_int32 snaplen; member 881 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header() 913 p->snapshot = idbp->snaplen; in pcap_ng_check_header() 1084 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_next_packet() 1101 if (p->snapshot != idbp->snaplen) { in pcap_ng_next_packet() 1104 idbp->snaplen); in pcap_ng_next_packet()
|
D | pcap.c | 576 pcap_set_snaplen(pcap_t *p, int snaplen) in pcap_set_snaplen() argument 580 p->snapshot = snaplen; in pcap_set_snaplen() 754 pcap_open_live(const char *source, int snaplen, int promisc, int to_ms, char *errbuf) in pcap_open_live() argument 762 status = pcap_set_snaplen(p, snaplen); in pcap_open_live() 1786 pcap_open_dead_with_tstamp_precision(int linktype, int snaplen, u_int precision) in pcap_open_dead_with_tstamp_precision() argument 1803 p->snapshot = snaplen; in pcap_open_dead_with_tstamp_precision() 1818 pcap_open_dead(int linktype, int snaplen) in pcap_open_dead() argument 1820 return (pcap_open_dead_with_tstamp_precision(linktype, snaplen, in pcap_open_dead()
|
D | dlpisubs.c | 276 pcap_conf_bufmod(pcap_t *p, int snaplen) in pcap_conf_bufmod() argument 287 ss = snaplen; in pcap_conf_bufmod()
|
D | README.dag | 90 libpcap now does NOT set the card's hardware snaplen (slen). This must now be 92 dagsix, dagconfig. This is because the snaplen is currently shared between
|
D | pcap-dag.c | 732 } else if (snaplen < MIN_DAG_SNAPLEN) { in dag_activate() 736 snprintf(conf, 30, "varlen slen=%d", (snaplen + 3) & ~3); in dag_activate()
|
D | pcap-sita.c | 845 static void acn_start_monitor(int fd, int snaplen, int timeout, int promiscuous, int direction) { 853 *(uint32_t *)&buf[1] = htonl(snaplen);
|
D | pcap-win32.c | 703 p->snapshot = PacketSetSnapLen(p->adapter, snaplen); in pcap_activate_win32()
|
D | gencode.c | 399 static int snaplen; variable 462 snaplen = pcap_snapshot(p); in pcap_compile_unsafe() 463 if (snaplen == 0) { in pcap_compile_unsafe() 477 root = gen_retblk(snaplen); in pcap_compile_unsafe() 604 backpatch(p, gen_retblk(snaplen));
|
D | CHANGES | 205 Fix bug where create_ring would fail for particular snaplen and
|
/external/qemu/android/ |
D | qemu-tcpdump.c | 52 uint32_t snaplen; in pcap_write_header() member 63 h.snaplen = PCAP_SNAPLEN; in pcap_write_header()
|
/external/tcpdump/ |
D | tcpdump.c | 1004 snaplen = strtol(optarg, &end, 0); in main() 1006 || snaplen < 0 || snaplen > MAXIMUM_SNAPLEN) in main() 1008 else if (snaplen == 0) in main() 1009 snaplen = MAXIMUM_SNAPLEN; in main() 1278 status = pcap_set_snaplen(pd, snaplen); in main() 1352 pd = pcap_open_live(device, snaplen, !pflag, 1000, ebuf); in main() 1393 if (snaplen < i) { in main() 1394 warning("snaplen raised from %d to %d", snaplen, i); in main() 1395 snaplen = i; in main() 1565 device, dlt, snaplen); in main() [all …]
|
D | print-cnfp.c | 116 snaplen -= 24; in cnfp_print() 119 snaplen -= 16; in cnfp_print()
|
D | print-icmp.c | 586 snaplen = snapend - bp; in icmp_print()
|
D | interface.h | 418 #define snaplen gndo->ndo_snaplen macro
|
D | CHANGES | 847 - Detect when pcap raises the snaplen (e.g. with snit). Print a warning
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
D | pcap_file_reader.cc | 228 uint32_t snaplen; // Max length of captured packets, in octets. in ReadGlobalHeader() local 232 TRY(Read(&snaplen, false)); in ReadGlobalHeader()
|
/external/libpcap/pcap/ |
D | pcap.h | 130 bpf_u_int32 snaplen; /* max length saved portion of each pkt */ member
|
/external/qemu/net/ |
D | net-android.c | 2014 uint32_t snaplen; member 2085 hdr.snaplen = s->pcap_caplen; in net_dump_init()
|
D | net.c | 1935 uint32_t snaplen; member 2006 hdr.snaplen = s->pcap_caplen; in net_dump_init()
|