HomeSort by relevance Sort by last modified time
    Searched refs:dlt (Results 1 - 6 of 6) sorted by null

  /external/tcpdump/missing/
dlnames.c 53 int dlt; member in struct:dlt_choice
147 return (dlt_choices[i].dlt);
153 pcap_datalink_val_to_name(int dlt)
158 if (dlt_choices[i].dlt == dlt)
166 pcap_datalink_val_to_description(int dlt)
171 if (dlt_choices[i].dlt == dlt)
  /external/libpcap/
pcap.c 231 * DLT for an interface. Return a list of DLTs
232 * containing only the DLT this device supports.
256 pcap_set_datalink(pcap_t *p, int dlt)
266 * DLT for an interface. Check whether the new
267 * DLT is the one this interface supports.
269 if (p->linktype != dlt)
278 if (p->dlt_list[i] == dlt)
283 dlt == DLT_DOCSIS) {
295 p->linktype = dlt;
298 if (p->set_datalink_op(p, dlt) == -1
320 int dlt; member in struct:dlt_choice
    [all...]
savefile.c 556 int dlt; member in struct:linktype_map
818 dlt_to_linktype(int dlt)
822 for (i = 0; map[i].dlt != -1; i++) {
823 if (map[i].dlt == dlt)
842 return (map[i].dlt);
    [all...]
pcap-bpf.c 109 static int pcap_set_datalink_bpf(pcap_t *p, int dlt);
1148 pcap_set_datalink_bpf(pcap_t *p, int dlt)
1151 if (ioctl(p->fd, BIOCSDLT, &dlt) == -1) {
1153 "Cannot set DLT %d: %s", dlt, strerror(errno));
pcap-dag.c 99 static int dag_set_datalink(pcap_t *p, int dlt);
831 dag_set_datalink(pcap_t *p, int dlt)
833 p->linktype = dlt;
  /external/tcpdump/
tcpdump.c 331 (void) fprintf(stderr, " DLT %d (not supported)\n",
835 int dlt; local
854 dlt = pcap_datalink(pd);
855 dlt_name = pcap_datalink_val_to_name(dlt);
858 RFileName, dlt);
863 pcap_datalink_val_to_description(dlt));
1031 int dlt; local
1040 dlt = pcap_datalink(pd);
1041 dlt_name = pcap_datalink_val_to_name(dlt);
1044 device, dlt, snaplen)
    [all...]

Completed in 470 milliseconds