]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-bt-linux.c
Prefix routines declared in pcap-int.h with pcap_.
[libpcap] / pcap-bt-linux.c
index fbac7e97a4dbdbb0149dd842e764ecccec798a53..cba6e8d90c687552e2ed1eb8b46d8b50dec59e9c 100644 (file)
@@ -131,7 +131,7 @@ bt_findalldevs(pcap_if_list_t *devlistp, char *err_str)
                 * the status to PCAP_IF_CONNECTION_STATUS_CONNECTED
                 * or PCAP_IF_CONNECTION_STATUS_DISCONNECTED.
                 */
-               if (add_dev(devlistp, dev_name, PCAP_IF_WIRELESS, dev_descr, err_str)  == NULL)
+               if (pcap_add_dev(devlistp, dev_name, PCAP_IF_WIRELESS, dev_descr, err_str)  == NULL)
                {
                        ret = -1;
                        break;
@@ -225,7 +225,7 @@ bt_activate(pcap_t* handle)
 
        handle->read_op = bt_read_linux;
        handle->inject_op = bt_inject_linux;
-       handle->setfilter_op = install_bpf_program; /* no kernel filtering */
+       handle->setfilter_op = pcap_install_bpf_program; /* no kernel filtering */
        handle->setdirection_op = bt_setdirection_linux;
        handle->set_datalink_op = NULL; /* can't change data link type */
        handle->getnonblock_op = pcap_getnonblock_fd;