freebsd-dev/contrib
Jung-uk Kim 560a54e10c Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
whether incoming, outgoing, or all packets on the interface should be
returned by BPF.  Set to BPF_D_IN to see only incoming packets on the
interface.  Set to BPF_D_INOUT to see packets originating locally and
remotely on the interface.  Set to BPF_D_OUT to see only outgoing
packets on the interface.  This setting is initialized to BPF_D_INOUT
by default.  BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
kept for backward compatibility.

- BIOCFEEDBACK sets packet feedback mode.  This allows injected packets
to be fed back as input to the interface when output via the interface is
successful.  When BPF_D_INOUT direction is set, injected outgoing packet
is not returned by BPF to avoid duplication.  This flag is initialized to
zero by default.

Note that libpcap has been modified to support BPF_D_OUT direction for
pcap_setdirection(3) and PCAP_D_OUT direction is functional now.

Reviewed by:	rwatson
2007-02-26 22:24:14 +00:00
..
amd
bc
bind9 This commit was generated by cvs2svn to compensate for changes in r166332, 2007-01-29 18:31:57 +00:00
binutils
bsnmp
bzip2
com_err
cpio
csup
cvs Add the '-n' option which is the opposite of '-N', "Do not list tags." 2006-12-12 03:20:36 +00:00
diff
expat
file
gcc
gdb
gdtoa Merge local diffs. 2007-01-03 04:59:33 +00:00
gnu-sort
gperf
groff MFV: Sync with vendor branch. 2006-12-25 09:03:10 +00:00
hostapd
ipfilter
less
libbegemot
libf2c
libobjc
libpcap Add three new ioctl(2) commands for bpf(4). 2007-02-26 22:24:14 +00:00
libreadline Udate info after official patch 2006-12-31 09:50:44 +00:00
libstdc++
lukemftp
lukemftpd
ncurses Add instructions for future update. 2007-01-20 08:24:05 +00:00
netcat
ngatm
ntp
nvi
one-true-awk
openbsm
openpam
opie
pam_modules/pam_passwdqc
pf
pnpinfo
sendmail
smbfs
tcp_wrappers
tcpdump
tcsh
telnet
texinfo
top
traceroute
wpa_supplicant