Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Bill Meier" <wmeier@xxxxxxxxxxx>
Date: Mon, 11 Jun 2007 11:24:09 -0400

>  Add a capture_interface_list(), which works similar to
>  get_interface_list() except that it forks dumpcap instead of calling
>  the pcap routines directly.  Use it in the GUI.
>  
>  Add a "-I" flag to dumpcap, which prints out verbose interface
>  information.
>  
>  Tested under Windows and Linux.
> 

Seems not to compile on my Windows XP system:

capture.c(646) : warning C4013: 'getaddrinfo' undefined; assuming extern 
returning int
capture.c(648) : error C2037: left of 'ai_family' specifies undefined 
struct/union 'addrinfo'
capture.c(652) : error C2037: left of 'ai_addr' specifies undefined 
struct/union 'addrinfo'
capture.c(658) : error C2037: left of 'ai_addr' specifies undefined 
struct/union 'addrinfo'
capture.c(665) : warning C4013: 'freeaddrinfo' undefined; assuming extern 
returning int


capture_opts.c
capture_opts.c(444) : error C2065: 'NI_MAXHOST' : undeclared identifier
capture_opts.c(444) : error C2057: expected constant expression
capture_opts.c(444) : error C2466: cannot allocate an array of constant size 
0
capture_opts.c(444) : error C2133: 'addr_str' : unknown size
capture_opts.c(495) : warning C4013: 'getnameinfo' undefined; assuming extern 
returning int
capture_opts.c(496) : error C2065: 'NI_NUMERICHOST' : undeclared identifier


Bill



  • Follow-Ups:
    • Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c
      • From: Gerald Combs
  • Prev by Date: Re: [Wireshark-dev] Info column prints
  • Next by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c
  • Previous by thread: Re: [Wireshark-dev] Info column prints
  • Next by thread: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation