Home
last modified time | relevance | path

Searched refs:dlt (Results 1 – 16 of 16) sorted by relevance

/external/tcpdump/
Dprint-ppi.c30 uint32_t dlt; in ppi_header_print() local
35 dlt = EXTRACT_LE_32BITS(&hdr->ppi_dlt); in ppi_header_print()
39 pcap_datalink_val_to_name(dlt), dlt, in ppi_header_print()
42 ND_PRINT((ndo, "%s", pcap_datalink_val_to_name(dlt))); in ppi_header_print()
58 uint32_t dlt; in ppi_print() local
75 dlt = EXTRACT_LE_32BITS(&hdr->ppi_dlt); in ppi_print()
84 if ((printer = lookup_printer(dlt)) != NULL) { in ppi_print()
86 } else if ((ndo_printer = lookup_ndo_printer(dlt)) != NULL) { in ppi_print()
Dprint-pktap.c73 uint32_t dlt, hdrlen; in pktap_header_print() local
77 dlt = EXTRACT_LE_32BITS(&hdr->pkt_dlt); in pktap_header_print()
81 pcap_datalink_val_to_name(dlt), dlt, hdrlen)); in pktap_header_print()
83 ND_PRINT((ndo,", %s", pcap_datalink_val_to_name(dlt))); in pktap_header_print()
99 uint32_t dlt, hdrlen, rectype; in pktap_if_print() local
111 dlt = EXTRACT_LE_32BITS(&hdr->pkt_dlt); in pktap_if_print()
144 if ((printer = lookup_printer(dlt)) != NULL) { in pktap_if_print()
146 } else if ((ndo_printer = lookup_ndo_printer(dlt)) != NULL) { in pktap_if_print()
Dtcpdump.c1006 int dlt; in main() local
1055 dlt = -1; in main()
1578 dlt = pcap_datalink(pd); in main()
1579 dlt_name = pcap_datalink_val_to_name(dlt); in main()
1582 RFileName, dlt); in main()
1587 pcap_datalink_val_to_description(dlt)); in main()
1979 dlt = pcap_datalink(pd); in main()
1980 dlt_name = pcap_datalink_val_to_name(dlt); in main()
1983 device, dlt, snaplen); in main()
1987 pcap_datalink_val_to_description(dlt), snaplen); in main()
[all …]
/external/tcpdump/missing/
Ddlnames.c48 int dlt; member
142 return (dlt_choices[i].dlt); in pcap_datalink_name_to_val()
148 pcap_datalink_val_to_name(int dlt) in pcap_datalink_val_to_name() argument
153 if (dlt_choices[i].dlt == dlt) in pcap_datalink_val_to_name()
161 pcap_datalink_val_to_description(int dlt) in pcap_datalink_val_to_description() argument
166 if (dlt_choices[i].dlt == dlt) in pcap_datalink_val_to_description()
/external/libpcap/
Dpcap-common.c1006 int dlt; member
1071 dlt_to_linktype(int dlt) in dlt_to_linktype() argument
1082 if (dlt == DLT_PFSYNC) in dlt_to_linktype()
1084 if (dlt == DLT_PKTAP) in dlt_to_linktype()
1091 if (dlt >= DLT_MATCHING_MIN && dlt <= DLT_MATCHING_MAX) in dlt_to_linktype()
1092 return (dlt); in dlt_to_linktype()
1097 for (i = 0; map[i].dlt != -1; i++) { in dlt_to_linktype()
1098 if (map[i].dlt == dlt) in dlt_to_linktype()
1139 return (map[i].dlt); in linktype_to_dlt()
Dpcap.c957 pcap_set_datalink(pcap_t *p, int dlt) in pcap_set_datalink() argument
970 if (p->linktype != dlt) in pcap_set_datalink()
979 if (p->dlt_list[i] == dlt) in pcap_set_datalink()
984 dlt == DLT_DOCSIS) { in pcap_set_datalink()
996 p->linktype = dlt; in pcap_set_datalink()
999 if (p->set_datalink_op(p, dlt) == -1) in pcap_set_datalink()
1001 p->linktype = dlt; in pcap_set_datalink()
1005 dlt_name = pcap_datalink_val_to_name(dlt); in pcap_set_datalink()
1013 dlt); in pcap_set_datalink()
1106 int dlt; member
[all …]
Dpcap-common.h20 extern int dlt_to_linktype(int dlt);
Dpcap-snf.c40 snf_set_datalink(pcap_t *p, int dlt) in snf_set_datalink() argument
42 p->linktype = dlt; in snf_set_datalink()
Dpcap-dag.c117 static int dag_set_datalink(pcap_t *p, int dlt);
1072 dag_set_datalink(pcap_t *p, int dlt) in dag_set_datalink() argument
1074 p->linktype = dlt; in dag_set_datalink()
Dpcap-netfilter-linux.c215 netfilter_set_datalink(pcap_t *handle, int dlt) in netfilter_set_datalink() argument
217 handle->linktype = dlt; in netfilter_set_datalink()
Dpcap-bpf.c229 static int pcap_set_datalink_bpf(pcap_t *p, int dlt);
2742 pcap_set_datalink_bpf(pcap_t *p, int dlt) argument
2745 if (ioctl(p->fd, BIOCSDLT, &dlt) == -1) {
2747 "Cannot set DLT %d: %s", dlt, strerror(errno));
Dpcap-linux.c1496 pcap_set_datalink_linux(pcap_t *handle, int dlt) argument
1498 handle->linktype = dlt;
/external/iptables/utils/
Dnfbpf_compile.c19 int i, dlt = DLT_RAW; in main() local
32 dlt = pcap_datalink_name_to_val(argv[1]); in main()
33 if (dlt == -1) { in main()
39 if (pcap_compile_nopcap(65535, dlt, &program, argv[argc - 1], 1, in main()
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration_artificial.cpp123 const double dlt = 1e-5; in compareCameraMatrs() local
125 bool fail = checkErr(fx_e, fx, eps, dlt) || checkErr(fy_e, fy, eps, dlt) || in compareCameraMatrs()
126 checkErr(cx_e, cx, eps, dlt) || checkErr(cy_e, cy, eps, dlt); in compareCameraMatrs()
147 const double dlt = 1e-3; in compareDistCoeffs() local
152 …bool fail = checkErr(k1_e, k1, eps, dlt) || checkErr(k2_e, k2, eps, dlt) || checkErr(k3_e, k3, eps… in compareDistCoeffs()
153 checkErr(p1_e, p1, eps, dlt) || checkErr(p2_e, p2, eps, dlt); in compareDistCoeffs()
168 const double dlt = 1e-4; in compareShiftVecs() local
177 if (norm(tvec_est - tvec) > eps* (norm(tvec) + dlt)) in compareShiftVecs()
197 const double dlt = 1e-4; in compareRotationVecs() local
207 if (cvtest::norm(rmat_est, rmat, NORM_L2) > eps* (cvtest::norm(rmat, NORM_L2) + dlt)) in compareRotationVecs()
/external/libpcap/tests/
Dfiltertest.c191 int dlt; in main() local
268 dlt = pcap_datalink_name_to_val(argv[optind]); in main()
269 if (dlt < 0) { in main()
270 dlt = (int)strtol(argv[optind], &p, 10); in main()
280 pd = pcap_open_dead(dlt, snaplen); in main()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/defs/
Dopcodes.txt198 dlt