Searched refs:dlt (Results 1 – 6 of 6) sorted by relevance
/external/tcpdump/missing/ |
D | dlnames.c | 53 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/libpcap/ |
D | pcap.c | 256 pcap_set_datalink(pcap_t *p, int dlt) in pcap_set_datalink() argument 269 if (p->linktype != dlt) in pcap_set_datalink() 278 if (p->dlt_list[i] == dlt) in pcap_set_datalink() 283 dlt == DLT_DOCSIS) { in pcap_set_datalink() 295 p->linktype = dlt; in pcap_set_datalink() 298 if (p->set_datalink_op(p, dlt) == -1) in pcap_set_datalink() 300 p->linktype = dlt; in pcap_set_datalink() 304 dlt_name = pcap_datalink_val_to_name(dlt); in pcap_set_datalink() 312 dlt); in pcap_set_datalink() 320 int dlt; member [all …]
|
D | savefile.c | 556 int dlt; member 818 dlt_to_linktype(int dlt) in dlt_to_linktype() argument 822 for (i = 0; map[i].dlt != -1; i++) { in dlt_to_linktype() 823 if (map[i].dlt == dlt) in dlt_to_linktype() 842 return (map[i].dlt); in linktype_to_dlt()
|
D | 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) in pcap_set_datalink_bpf() argument 1151 if (ioctl(p->fd, BIOCSDLT, &dlt) == -1) { in pcap_set_datalink_bpf() 1153 "Cannot set DLT %d: %s", dlt, strerror(errno)); in pcap_set_datalink_bpf()
|
D | pcap-dag.c | 99 static int dag_set_datalink(pcap_t *p, int dlt); 831 dag_set_datalink(pcap_t *p, int dlt) in dag_set_datalink() argument 833 p->linktype = dlt; in dag_set_datalink()
|
/external/tcpdump/ |
D | tcpdump.c | 835 int dlt; in main() local 854 dlt = pcap_datalink(pd); in main() 855 dlt_name = pcap_datalink_val_to_name(dlt); in main() 858 RFileName, dlt); in main() 863 pcap_datalink_val_to_description(dlt)); in main() 1031 int dlt; in main() local 1040 dlt = pcap_datalink(pd); in main() 1041 dlt_name = pcap_datalink_val_to_name(dlt); in main() 1044 device, dlt, snaplen); in main() 1048 pcap_datalink_val_to_description(dlt), snaplen); in main()
|