Home
last modified time | relevance | path

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

/netbsd/external/bsd/libpcap/dist/
H A Dpcap-bpf.c2166 p->dlt_count = bdl.bfl_len;
2310 if (v == DLT_EN10MB && p->dlt_count == 0) {
2318 p->dlt_count = 2;
3115 for (i = 0; i < p->dlt_count; i++) {
3142 p->dlt_count = j;
3159 for (i = 0; i < p->dlt_count; i++) {
3196 p->dlt_count = j;
H A Dpcap.c2764 if (p->dlt_count == 0) {
2780 *dlt_buffer = (int*)calloc(sizeof(**dlt_buffer), p->dlt_count);
2787 sizeof(**dlt_buffer) * p->dlt_count);
2788 return (p->dlt_count);
2818 if (p->dlt_count == 0 || p->set_datalink_op == NULL) {
2834 for (i = 0; i < p->dlt_count; i++)
2837 if (i >= p->dlt_count)
2839 if (p->dlt_count == 2 && p->dlt_list[0] == DLT_EN10MB &&
3740 p->dlt_count = 0;
H A Dpcap-int.h253 int dlt_count; member
H A Ddlpisubs.c241 p->dlt_count = 2; in pcap_process_mactype()
H A Dpcap-nit.c356 p->dlt_count = 2; in pcap_activate_nit()
H A Dpcap-snit.c445 p->dlt_count = 2; in pcap_activate_snit()
H A Dpcap-snoop.c297 p->dlt_count = 2; in pcap_activate_snoop()
H A Dpcap-pf.c420 p->dlt_count = 2; in pcap_activate_pf()
H A Dpcap-linux.c3214 handle->dlt_count = 2;
3519 handle->dlt_count = 3;
3619 handle->dlt_count = 2;
3813 handle->dlt_count = 0;
3876 handle->dlt_count = 0;
H A Dpcap-netfilter-linux.c592 handle->dlt_count = 2; in netfilter_activate()
H A Dpcap-dag.c1430 p->dlt_count = dlt_index;
H A Dpcap-npf.c989 p->dlt_count = 2; in pcap_activate_npf()
H A Dpcap-tc.c602 p->dlt_count = 2; in TcActivate()