Home
last modified time | relevance | path

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

12

/external/libpcap/
Dpcap-common.c1212 int dlt; member
1278 dlt_to_linktype(int dlt) in dlt_to_linktype() argument
1289 if (dlt == DLT_PFSYNC) in dlt_to_linktype()
1291 if (dlt == DLT_PKTAP) in dlt_to_linktype()
1298 if (dlt >= DLT_MATCHING_MIN && dlt <= DLT_MATCHING_MAX) in dlt_to_linktype()
1299 return (dlt); in dlt_to_linktype()
1304 for (i = 0; map[i].dlt != -1; i++) { in dlt_to_linktype()
1305 if (map[i].dlt == dlt) in dlt_to_linktype()
1355 return (map[i].dlt); in linktype_to_dlt()
1384 max_snaplen_for_dlt(int dlt) in max_snaplen_for_dlt() argument
[all …]
Dpcap-common.h24 extern int dlt_to_linktype(int dlt);
28 extern u_int max_snaplen_for_dlt(int dlt);
Dpcap.c370 pcap_set_datalink_not_initialized(pcap_t *pcap, int dlt _U_) in pcap_set_datalink_not_initialized()
3012 pcap_set_datalink(pcap_t *p, int dlt) argument
3017 if (dlt < 0)
3028 if (p->linktype != dlt)
3037 if (p->dlt_list[i] == (u_int)dlt)
3042 dlt == DLT_DOCSIS) {
3054 p->linktype = dlt;
3057 if (p->set_datalink_op(p, dlt) == -1)
3059 p->linktype = dlt;
3063 dlt_name = pcap_datalink_val_to_name(dlt);
[all …]
Dpcap-airpcap.c304 airpcap_set_datalink(pcap_t *p, int dlt) in airpcap_set_datalink() argument
309 switch (dlt) { in airpcap_set_datalink()
333 p->linktype = dlt; in airpcap_set_datalink()
Dpcap-snf.c44 snf_set_datalink(pcap_t *p, int dlt) in snf_set_datalink() argument
46 p->linktype = dlt; in snf_set_datalink()
Dpcap-dag.c211 static int dag_set_datalink(pcap_t *p, int dlt);
1215 dag_set_datalink(pcap_t *p, int dlt) in dag_set_datalink() argument
1217 p->linktype = dlt; in dag_set_datalink()
Dpcap-netfilter-linux.c310 netfilter_set_datalink(pcap_t *handle, int dlt) in netfilter_set_datalink() argument
312 handle->linktype = dlt; in netfilter_set_datalink()
Dpcap-bpf.c250 static int pcap_set_datalink_bpf(pcap_t *p, int dlt);
3586 pcap_set_datalink_bpf(pcap_t *p, int dlt) argument
3588 if (ioctl(p->fd, BIOCSDLT, &dlt) == -1) {
3590 errno, "Cannot set DLT %d", dlt);
3597 pcap_set_datalink_bpf(pcap_t *p _U_, int dlt _U_)
Dpcap-tc.c122 static int TcSetDatalink(pcap_t *p, int dlt);
723 static int TcSetDatalink(pcap_t *p, int dlt) in TcSetDatalink() argument
Dpcap-linux.c1150 pcap_set_datalink_linux(pcap_t *handle, int dlt) in pcap_set_datalink_linux() argument
1152 handle->linktype = dlt; in pcap_set_datalink_linux()
DMakefile.in121 pcap/dlt.h \
/external/tcpdump/missing/
Ddlnames.c49 int dlt; member
140 return (dlt_choices[i].dlt); in pcap_datalink_name_to_val()
146 pcap_datalink_val_to_name(int dlt) in pcap_datalink_val_to_name() argument
151 if (dlt_choices[i].dlt == dlt) in pcap_datalink_val_to_name()
159 pcap_datalink_val_to_description(int dlt) in pcap_datalink_val_to_description() argument
164 if (dlt_choices[i].dlt == dlt) in pcap_datalink_val_to_description()
/external/tcpdump/
Dprint-ppi.c40 uint32_t dlt; in ppi_header_print() local
46 dlt = GET_LE_U_4(hdr->ppi_dlt); in ppi_header_print()
47 dltname = pcap_datalink_val_to_name(dlt); in ppi_header_print()
51 (dltname != NULL ? dltname : "UNKNOWN"), dlt, in ppi_header_print()
75 uint32_t dlt; in ppi_if_print() local
105 dlt = GET_LE_U_4(hdr->ppi_dlt); in ppi_if_print()
114 printer = lookup_printer(dlt); in ppi_if_print()
Dprint-pktap.c75 uint32_t dlt, hdrlen; in pktap_header_print() local
80 dlt = GET_LE_U_4(hdr->pkt_dlt); in pktap_header_print()
82 dltname = pcap_datalink_val_to_name(dlt); in pktap_header_print()
85 (dltname != NULL ? dltname : "UNKNOWN"), dlt, hdrlen); in pktap_header_print()
103 uint32_t dlt, hdrlen, rectype; in pktap_if_print() local
117 dlt = GET_LE_U_4(hdr->pkt_dlt); in pktap_if_print()
153 printer = lookup_printer(dlt); in pktap_if_print()
Dtcpdump.c1469 int dlt; in main() local
1519 dlt = -1; in main()
2068 dlt = pcap_datalink(pd); in main()
2069 dlt_name = pcap_datalink_val_to_name(dlt); in main()
2072 fprintf(stderr, ", link-type %u", dlt); in main()
2075 pcap_datalink_val_to_description(dlt)); in main()
2079 if (dlt == DLT_LINUX_SLL2) in main()
2448 dlt = pcap_datalink(pd); in main()
2449 ndo->ndo_if_printer = get_if_printer(dlt); in main()
2459 dlt = pcap_datalink(pd); in main()
[all …]
/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/testprogs/
Dfiltertest.c219 int dlt; in main() local
318 dlt = pcap_datalink_name_to_val(argv[optind]); in main()
319 if (dlt < 0) { in main()
320 dlt = (int)strtol(argv[optind], &p, 10); in main()
335 pd = pcap_open_dead(dlt, snaplen); in main()
Dwritecaptest.c248 int dlt; in main() local
398 dlt = pcap_datalink_name_to_val(dlt_name); in main()
399 if (dlt == PCAP_ERROR) in main()
401 if (pcap_set_datalink(pd, dlt) == PCAP_ERROR) in main()
436 dlt = pcap_datalink(pd); in main()
437 dlt_name = pcap_datalink_val_to_name(dlt); in main()
439 printf("DLT %d", dlt); in main()
/external/scapy/scapy/contrib/
Dppi.py92 return conf.l2types.get(self.dlt, Packet.guess_payload_class(self, payload))
99 bind_layers(PPI, Dot11, dlt=DLT_IEEE802_11)
100 bind_layers(PPI, Ether, dlt=DLT_EN10MB)
/external/scapy/scapy/layers/
Ddot11.py345 bind_layers( PPI, Dot11, dlt=105)
/external/cldr/common/testData/transforms/
Dja-t-pl-fonipa.txt375 ɕɛdlt͡sɛ シェドルツェ
Dpl-fonipa-t-pl.txt233 Siedlce ɕɛdlt͡sɛ
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_test.py2324 dlt = xla_client._xla.buffer_to_dlpack_managed_tensor(
2327 self.assertEqual(type(dlt).__name__, "PyCapsule")
2329 dlt, self.cpu_backend, self.gpu_backend)
2336 dlt = xla_client._xla.buffer_to_dlpack_managed_tensor(
2340 _ = xla_client._xla.dlpack_managed_tensor_to_buffer(dlt, self.backend)
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/transforms/
Den-IPA.txt5310 $x{middletown → mɪdltɑʊn ; # mɪdlɛtɑʊn
8356 $x{middleton → mɪdltən ; # mɪdlɛtɑn
Dinternal_raw_IPA-old.txt56100 dlt %9198
127964 middleton %24643 mˈɪdltən, mˈɪdəltən

12