AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

cannot open BPF device)/dev/bpf3: Device busy

  • 1.  cannot open BPF device)/dev/bpf3: Device busy

    Posted Fri February 10, 2012 12:03 AM

    Originally posted by: KamleshM


    Hi All

    I have a small application using the PCAP libraries
    I compiled the above libraries using "GMAKE"
    but when I run the application for packet capturing , I always get the following
    message
    Device: /dev/bpf0
    FD: -1, ERRNO: 16, EBUSY: 16
    Device: /dev/bpf1
    FD: -1, ERRNO: 16, EBUSY: 16
    Device: /dev/bpf2
    FD: -1, ERRNO: 16, EBUSY: 16
    Device: /dev/bpf3
    FD: -1, ERRNO: 16, EBUSY: 16

    and then "cannot open BPF device)/dev/bpf3: Device busy"
    I used "netstat -ia" to get "en0" as network interface name.

    I have no idea on what could the issue be, please help
    #AIX-Forum