Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-ppi.c24 u_int32_t dlt; in ppi_header_print() local
30 dlt = EXTRACT_32BITS(&hdr->ppi_dlt); in ppi_header_print()
34 pcap_datalink_val_to_name(dlt), dlt, in ppi_header_print()
37 ND_PRINT((ndo,", %s", pcap_datalink_val_to_name(dlt))); in ppi_header_print()
52 u_int32_t dlt; in ppi_print() local
59 dlt = EXTRACT_32BITS(&hdr->ppi_dlt); in ppi_print()
68 if ((printer = lookup_printer(dlt)) != NULL) { in ppi_print()
70 } else if ((ndo_printer = lookup_ndo_printer(dlt)) != NULL) { in ppi_print()
Dtcpdump.c695 int dlt; in main() local
738 dlt = -1; in main()
1225 dlt = pcap_datalink(pd); in main()
1226 dlt_name = pcap_datalink_val_to_name(dlt); in main()
1229 RFileName, dlt); in main()
1234 pcap_datalink_val_to_description(dlt)); in main()
1561 dlt = pcap_datalink(pd); in main()
1562 dlt_name = pcap_datalink_val_to_name(dlt); in main()
1565 device, dlt, snaplen); in main()
1569 pcap_datalink_val_to_description(dlt), snaplen); in main()
[all …]
/external/tcpdump/missing/
Ddlnames.c53 int dlt; member
147 return (dlt_choices[i].dlt); in pcap_datalink_name_to_val()
153 pcap_datalink_val_to_name(int dlt) in pcap_datalink_val_to_name() argument
158 if (dlt_choices[i].dlt == dlt) in pcap_datalink_val_to_name()
166 pcap_datalink_val_to_description(int dlt) in pcap_datalink_val_to_description() argument
171 if (dlt_choices[i].dlt == dlt) in pcap_datalink_val_to_description()
/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/libpcap/
Dpcap-common.c939 int dlt; member
1004 dlt_to_linktype(int dlt) in dlt_to_linktype() argument
1011 if (dlt == DLT_PFSYNC) in dlt_to_linktype()
1017 if (dlt >= DLT_MATCHING_MIN && dlt <= DLT_MATCHING_MAX) in dlt_to_linktype()
1018 return (dlt); in dlt_to_linktype()
1023 for (i = 0; map[i].dlt != -1; i++) { in dlt_to_linktype()
1024 if (map[i].dlt == dlt) in dlt_to_linktype()
1062 return (map[i].dlt); in linktype_to_dlt()
Dpcap.c945 pcap_set_datalink(pcap_t *p, int dlt) in pcap_set_datalink() argument
958 if (p->linktype != dlt) in pcap_set_datalink()
967 if (p->dlt_list[i] == dlt) in pcap_set_datalink()
972 dlt == DLT_DOCSIS) { in pcap_set_datalink()
984 p->linktype = dlt; in pcap_set_datalink()
987 if (p->set_datalink_op(p, dlt) == -1) in pcap_set_datalink()
989 p->linktype = dlt; in pcap_set_datalink()
993 dlt_name = pcap_datalink_val_to_name(dlt); in pcap_set_datalink()
1001 dlt); in pcap_set_datalink()
1094 int dlt; member
[all …]
Dpcap-common.h20 extern int dlt_to_linktype(int dlt);
Dpcap-snf.c34 snf_set_datalink(pcap_t *p, int dlt) in snf_set_datalink() argument
36 p->linktype = dlt; in snf_set_datalink()
Dpcap-dag.c121 static int dag_set_datalink(pcap_t *p, int dlt);
1032 dag_set_datalink(pcap_t *p, int dlt) in dag_set_datalink() argument
1034 p->linktype = dlt; in dag_set_datalink()
Dpcap-netfilter-linux.c213 netfilter_set_datalink(pcap_t *handle, int dlt) in netfilter_set_datalink() argument
215 handle->linktype = dlt; in netfilter_set_datalink()
Dpcap-bpf.c233 static int pcap_set_datalink_bpf(pcap_t *p, int dlt);
2717 pcap_set_datalink_bpf(pcap_t *p, int dlt) argument
2720 if (ioctl(p->fd, BIOCSDLT, &dlt) == -1) {
2722 "Cannot set DLT %d: %s", dlt, strerror(errno));
Dpcap-linux.c1408 pcap_set_datalink_linux(pcap_t *handle, int dlt) argument
1410 handle->linktype = dlt;
/external/libpcap/tests/
Dfiltertest.c168 int dlt; in main() local
237 dlt = pcap_datalink_name_to_val(argv[optind]); in main()
238 if (dlt < 0) in main()
246 pd = pcap_open_dead(dlt, snaplen); in main()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/defs/
Dopcodes.txt198 dlt
/external/linux-tools-perf/src/tools/perf/ui/browsers/
Dannotate.c838 struct disasm_line *dl = browser->offsets[offset], *dlt; in annotate_browser__mark_jump_targets() local
844 dlt = browser->offsets[dl->ops.target.offset]; in annotate_browser__mark_jump_targets()
849 if (dlt == NULL) in annotate_browser__mark_jump_targets()
852 bdlt = disasm_line__browser(dlt); in annotate_browser__mark_jump_targets()