Wireshark-commits: [Wireshark-commits] rev 27074: /trunk/ /trunk/: acinclude.m4 capture-pcap-util.c

Date: Sun, 21 Dec 2008 23:22:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27074

User: guy
Date: 2008/12/21 03:22 PM

Log:
 If we don't have any of the pcap_datalink_XXX_to_YYY routines,
 substitute our own (I wrote them all, so I can steal them from the
 BSD-licensed libpcap if I want :-)).  This means that
 linktype_name_to_val() and linktype_val_to_name() are always available,
 and we don't need to #ifdef use of them.
 
 Use pcap_datalink_val_to_description() to get the description for a
 particular DLT_ value, rather than mapping the DLT_ value to a
 WTAP_ENCAP_ value and getting the description for the latter.

Directory: /trunk/
  Changes    Path                   Action
  +1 -0      acinclude.m4           Modified
  +97 -31    capture-pcap-util.c    Modified
  +0 -4      capture-pcap-util.h    Modified
  +0 -5      capture_opts.c         Modified
  +0 -5      capture_sync.c         Modified
  +0 -2      rawshark.c             Modified