/external/iptables/utils/ |
nfbpf_compile.c | 19 int i, dlt = DLT_RAW; local 32 dlt = pcap_datalink_name_to_val(argv[1]); 33 if (dlt == -1) { 39 if (pcap_compile_nopcap(65535, dlt, &program, argv[argc - 1], 1,
|
/external/tcpdump/missing/ |
dlnames.c | 49 int dlt; member in struct:dlt_choice 143 return (dlt_choices[i].dlt); 149 pcap_datalink_val_to_name(int dlt) 154 if (dlt_choices[i].dlt == dlt) 162 pcap_datalink_val_to_description(int dlt) 167 if (dlt_choices[i].dlt == dlt)
|
/external/libpcap/ |
pcap-common.h | 20 extern int dlt_to_linktype(int dlt);
|
pcap-common.c | 1034 int dlt; member in struct:linktype_map [all...] |
pcap.c | 944 * DLT for an interface. Return a list of DLTs 945 * containing only the DLT this device supports. 986 pcap_set_datalink(pcap_t *p, int dlt) 991 if (dlt < 0) 999 * DLT for an interface. Check whether the new 1000 * DLT is the one this interface supports. 1002 if (p->linktype != dlt) 1011 if (p->dlt_list[i] == (u_int)dlt) 1016 dlt == DLT_DOCSIS) { 1028 p->linktype = dlt; 1138 int dlt; member in struct:dlt_choice [all...] |
pcap-snf.c | 40 snf_set_datalink(pcap_t *p, int dlt) 42 p->linktype = dlt;
|
pcap-netfilter-linux.c | 218 netfilter_set_datalink(pcap_t *handle, int dlt) 220 handle->linktype = dlt;
|
pcap-dag.c | 210 static int dag_set_datalink(pcap_t *p, int dlt); 625 /* These types have no matching 'native' DLT, but can be used with DLT_ERF above */ 1161 dag_set_datalink(pcap_t *p, int dlt) 1163 p->linktype = dlt; [all...] |
pcap-bpf.c | 247 static int pcap_set_datalink_bpf(pcap_t *p, int dlt); 852 * as the default DLT for this adapter.) 860 * We have an 802.11 DLT, so we can set monitor mode. [all...] |
pcap-tc.c | 122 static int TcSetDatalink(pcap_t *p, int dlt); 769 static int TcSetDatalink(pcap_t *p, int dlt) [all...] |
pcap-win32.c | 37 #include <pcap/dlt.h> [all...] |
pcap-linux.c | [all...] |
/external/tcpdump/ |
print-pktap.c | 49 uint32_t pkt_dlt; /* DLT type of this packet */ 74 uint32_t dlt, hdrlen; local 79 dlt = EXTRACT_LE_32BITS(&hdr->pkt_dlt); 81 dltname = pcap_datalink_val_to_name(dlt); 83 ND_PRINT((ndo,"DLT %s (%d) len %d", 84 (dltname != NULL ? dltname : "UNKNOWN"), dlt, hdrlen)); 102 uint32_t dlt, hdrlen, rectype; local 114 dlt = EXTRACT_LE_32BITS(&hdr->pkt_dlt); 147 if ((printer = lookup_printer(dlt)) != NULL) {
|
print-ppi.c | 32 uint32_t dlt; local 38 dlt = EXTRACT_LE_32BITS(&hdr->ppi_dlt); 39 dltname = pcap_datalink_val_to_name(dlt); 42 ND_PRINT((ndo, "V.%d DLT %s (%d) len %d", hdr->ppi_ver, 43 (dltname != NULL ? dltname : "UNKNOWN"), dlt, 61 uint32_t dlt; local 84 dlt = EXTRACT_LE_32BITS(&hdr->ppi_dlt); 93 if ((printer = lookup_printer(dlt)) != NULL) {
|
tcpdump.c | 408 (void) fprintf(stderr, " DLT %d (printing not supported)\n", 1103 int dlt; local 1151 dlt = -1; [all...] |
/external/scapy/scapy/contrib/ |
ppi.py | 89 LEIntField('dlt', None), 92 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)
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo_windows_test.go | 54 var std, dlt string 56 // Try MUI_Std and MUI_Dlt first, fallback to Std and Dlt if *any* error occurs 59 dlt, err = k.GetMUIStringValue("MUI_Dlt") 62 if err != nil { // Fallback to Std and Dlt 66 if dlt, _, err = k.GetStringValue("Dlt"); err != nil { 67 t.Fatalf("cannot read CEST Dlt registry key: %s", err) 71 name, err := ToEnglishName(std, dlt)
|
zoneinfo_windows.go | 26 // values "MUI_Std" and MUI_Dlt" or "Std" and "Dlt" (the latter down-level 35 var std, dlt string 37 // Try MUI_Std and MUI_Dlt first, fallback to Std and Dlt if *any* error occurs 40 dlt, err = k.GetMUIStringValue("MUI_Dlt") 43 if err != nil { // Fallback to Std and Dlt 47 if dlt, _, err = k.GetStringValue("Dlt"); err != nil { 55 if dlt != dstname && dstname != stdname {
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo_windows_test.go | 54 var std, dlt string 56 // Try MUI_Std and MUI_Dlt first, fallback to Std and Dlt if *any* error occurs 59 dlt, err = k.GetMUIStringValue("MUI_Dlt") 62 if err != nil { // Fallback to Std and Dlt 66 if dlt, _, err = k.GetStringValue("Dlt"); err != nil { 67 t.Fatalf("cannot read CEST Dlt registry key: %s", err) 71 name, err := ToEnglishName(std, dlt)
|
zoneinfo_windows.go | 26 // values "MUI_Std" and MUI_Dlt" or "Std" and "Dlt" (the latter down-level 35 var std, dlt string 37 // Try MUI_Std and MUI_Dlt first, fallback to Std and Dlt if *any* error occurs 40 dlt, err = k.GetMUIStringValue("MUI_Dlt") 43 if err != nil { // Fallback to Std and Dlt 47 if dlt, _, err = k.GetStringValue("Dlt"); err != nil { 55 if dlt != dstname && dstname != stdname {
|
/external/libpcap/tests/ |
filtertest.c | 240 int dlt; local 317 dlt = pcap_datalink_name_to_val(argv[optind]); 318 if (dlt < 0) { 319 dlt = (int)strtol(argv[optind], &p, 10); 329 pd = pcap_open_dead(dlt, snaplen); 361 "Usage: %s [-dO] [ -F file ] [ -m netmask] [ -s snaplen ] dlt [ expression ]\n",
|
/external/libpcap/pcap/ |
bpf.h | 113 #include <pcap/dlt.h>
|
/toolchain/binutils/binutils-2.27/bfd/ |
elf64-hppa.c | 467 /* Return a pointer to the local DLT, PLT and OPD reference counts 481 /* Allocate space for local DLT, PLT and OPD reference 671 DLT. We need to create a DLT entry for any symbols which 681 /* ?!? These need a DLT entry. But I have no idea what to do with 739 /* This is an indirect reference through the DLT to get the address 740 of a OPD descriptor. Thus we need to make a DLT entry that points 784 /* Allocate space for a DLT entry, as well as a dynamic 799 /* This is a DLT entry for a local symbol. */ 960 /* Allocate space for a DLT entry. * 1218 asection *dlt; local [all...] |
/external/scapy/scapy/layers/ |
dot11.py | 107 LEIntField("dlt", 0), 345 bind_layers( PPI, Dot11, dlt=105)
|