TODO 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. TODO list for libpcap
  2. =======================
  3. Important stuff (to be done before the next release)
  4. ---------------
  5. General
  6. - configure should not be in Git. Most open source projects have an
  7. autogen.sh script to run autoconf etc. after checkout. I think we
  8. should stick to the standard.
  9. - The source files should be better documented. There is no official
  10. design guideline for what is done where. There should be a common coding
  11. style (okay, you can guess that by looking at the code) and a guide for
  12. what needs to be documented.
  13. Less urgent items
  14. -----------------
  15. - Better documentation and cleanup of the interface. I am seeing a few
  16. problems at the first glance which needs fixing:
  17. + pcap_lookupnet makes little to no sense with protocols != IPv4
  18. + not very well suited for interactive programs (think ethereal). There
  19. should be a way for the application to get a file descriptor which it
  20. has to monitor and a callback in pcap which has to be called on
  21. activity (XXX - "pcap_fileno()" handles the first part, although
  22. "select()" and "poll()" don't work on BPF devices on most BSDs, and
  23. you can call "pcap_dispatch()" as the dispatch routine after putting
  24. the descriptor into non-blocking mode)
  25. + too many functions. There are a lot of functions for everything which
  26. violates the KISS principle. Why do we need pcap_strerror, pcap_perror
  27. and pcap_geterr?
  28. + the manpage has a brief description of each function but where is the
  29. big picture? Seems like you need to buy UNP for that...