Home
last modified time | relevance | path

Searched refs:dlt_count (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/libpcap/
H A Dpcap-bpf.c2147 p->dlt_count = bdl.bfl_len;
2291 if (v == DLT_EN10MB && p->dlt_count == 0) {
2299 p->dlt_count = 2;
3083 for (i = 0; i < p->dlt_count; i++) {
3109 p->dlt_count = j;
3126 for (i = 0; i < p->dlt_count; i++) {
3156 p->dlt_count = j;
H A Dpcap.c2619 if (p->dlt_count == 0) {
2635 *dlt_buffer = (int*)calloc(sizeof(**dlt_buffer), p->dlt_count);
2642 sizeof(**dlt_buffer) * p->dlt_count);
2643 return (p->dlt_count);
2673 if (p->dlt_count == 0 || p->set_datalink_op == NULL) {
2689 for (i = 0; i < p->dlt_count; i++)
2692 if (i >= p->dlt_count)
2694 if (p->dlt_count == 2 && p->dlt_list[0] == DLT_EN10MB &&
3607 p->dlt_count = 0;
H A Dpcap-int.h246 int dlt_count; member
H A Ddlpisubs.c236 p->dlt_count = 2; in pcap_process_mactype()
H A Dpcap-nit.c351 p->dlt_count = 2; in pcap_activate_nit()
H A Dpcap-snoop.c292 p->dlt_count = 2; in pcap_activate_snoop()
H A Dpcap-snit.c440 p->dlt_count = 2; in pcap_activate_snit()
H A Dpcap-pf.c415 p->dlt_count = 2; in pcap_activate_pf()
H A Dpcap-netfilter-linux.c585 handle->dlt_count = 2; in netfilter_activate()
H A Dpcap-dag.c1388 p->dlt_count = dlt_index;
H A Dpcap-tc.c617 p->dlt_count = 2; in TcActivate()
H A Dpcap-linux.c3180 handle->dlt_count = 2;
3485 handle->dlt_count = 3;
3739 handle->dlt_count = 0;
H A Dpcap-npf.c961 p->dlt_count = 2; in pcap_activate_npf()