freebsd-nq/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 This commit was generated by cvs2svn to compensate for changes in r163820, 2006-10-31 09:00:35 +00:00
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 Fixed -mprofiler-epilogue. The garbage collector apparently doesn't 2006-10-25 07:29:22 +00:00
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 Vendor patch that adds a microsecond timer function. 2006-12-08 14:45:15 +00:00
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++ This commit was generated by cvs2svn to compensate for changes in r162837, 2006-09-30 09:44:58 +00:00
lukemftp
lukemftpd
ncurses Add instructions for future update. 2007-01-20 08:24:05 +00:00
netcat
ngatm
ntp This commit was generated by cvs2svn to compensate for changes in r162735, 2006-09-28 16:02:34 +00:00
nvi
one-true-awk
openbsm Resolve conflicts from OpenBSM 1.0 alpha 12 import. 2006-09-25 11:53:06 +00:00
openpam
opie
pam_modules/pam_passwdqc
pf From OpenBSD, rev. 1.91: 2006-11-30 18:55:36 +00:00
pnpinfo
sendmail
smbfs
tcp_wrappers
tcpdump
tcsh
telnet Markup nits. 2006-09-29 22:51:29 +00:00
texinfo
top The sigconv.awk script generates a sigdesc.h header file, which 2006-12-01 07:01:19 +00:00
traceroute Make it so that the synopsis and usage message almost agree. 2006-10-15 17:44:49 +00:00
wpa_supplicant