Enhance support for selecting traffic direction
Brought to you by:
vlm
BPF and libpcap on FreeBSD 7 and OpenBSD allow to capture packets in a specific direction on the interface (BIOCSDIRECTION on FreeBSD, BIOCSDIRFILT on OpenBSD, pcap_setdirection in libcap).
This patch enhances "input-only" support and adds "output-only" option to the interface command.
configure script and configuration file parser need to be regenerated after applying this patch.
Tested on OpenBSD 4.5 and FreeBSD 7.1 with autoconf-2.62, and on FreeBSD 6.1 with autoconf-2.59.
For ipcad 3.7.3 and SVN trunk r472.