Re: [tcpdump-workers] How to set my device name with pcap_platform_finddevs()

2007-09-27 Thread Varuna De Silva
On 9/26/07, Guy Harris <[EMAIL PROTECTED]> wrote: > > > On Sep 25, 2007, at 4:33 AM, Varuna De Silva wrote: > > > 1. How should I work around so that pcap_findalldevs() will add my > > device in > > the list? > Then add a routine to your pcap-xxx.c that, similarly to > septel_platform_finddevs(), a

Re: [tcpdump-workers] How to set my device name with pcap_platform_finddevs()

2007-09-25 Thread Guy Harris
On Sep 25, 2007, at 4:33 AM, Varuna De Silva wrote: 1. How should I work around so that pcap_findalldevs() will add my device in the list? If you're doing this on Windows, you will have to: modify pcap_findalldevs() in fad-win32.c to, right before it does if (ret =

[tcpdump-workers] How to set my device name with pcap_platform_finddevs()

2007-09-25 Thread Varuna De Silva
Hello, I want to get the name of my device in capture->interfaces > As long as you've modified libpcap/WinPcap so that pcap_findalldevs() adds your device to the list of available > devices, it should be displayed in Capture -> Interfaces and in the drop-down list in Capture -> Options. I also