Home | History | Annotate | Download | only in libpcap

Lines Matching refs:dlt

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.
1818 * we just open the enN device, and set the DLT.
3098 pcap_set_datalink_bpf(pcap_t *p, int dlt)
3101 if (ioctl(p->fd, BIOCSDLT, &dlt) == -1) {
3103 "Cannot set DLT %d: %s", dlt, strerror(errno));