1335640Shselasky TODO list for libpcap
2335640Shselasky=======================
3335640Shselasky
4335640ShselaskyImportant stuff (to be done before the next release)
5335640Shselasky---------------
6335640Shselasky
7335640ShselaskyGeneral
8335640Shselasky
9335640Shselasky- configure should not be in Git. Most open source projects have an
10335640Shselasky  autogen.sh script to run autoconf etc. after checkout. I think we
11335640Shselasky  should stick to the standard.
12335640Shselasky
13335640Shselasky- The source files should be better documented. There is no official
14335640Shselasky  design guideline for what is done where. There should be a common coding
15335640Shselasky  style (okay, you can guess that by looking at the code) and a guide for
16335640Shselasky  what needs to be documented.
17335640Shselasky
18335640ShselaskyLess urgent items
19335640Shselasky-----------------
20335640Shselasky
21335640Shselasky- Better documentation and cleanup of the interface. I am seeing a few
22335640Shselasky  problems at the first glance which needs fixing:
23335640Shselasky  + pcap_lookupnet makes little to no sense with protocols != IPv4
24335640Shselasky  + not very well suited for interactive programs (think ethereal). There
25335640Shselasky    should be a way for the application to get a file descriptor which it
26335640Shselasky    has to monitor and a callback in pcap which has to be called on
27335640Shselasky    activity (XXX - "pcap_fileno()" handles the first part, although
28335640Shselasky    "select()" and "poll()" don't work on BPF devices on most BSDs, and
29335640Shselasky    you can call "pcap_dispatch()" as the dispatch routine after putting
30335640Shselasky    the descriptor into non-blocking mode)
31335640Shselasky  + too many functions. There are a lot of functions for everything which
32335640Shselasky    violates the KISS principle. Why do we need pcap_strerror, pcap_perror
33335640Shselasky    and pcap_geterr?
34335640Shselasky  + the manpage has a brief description of each function but where is the
35335640Shselasky    big picture? Seems like you need to buy UNP for that...
36