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 Correct a typo: In order to make fixmount(8) quite, one should 2006-04-18 03:33:17 +00:00
bc s/predefine/predefined/ 2006-01-24 06:38:35 +00:00
bind9 This commit was generated by cvs2svn to compensate for changes in r166332, 2007-01-29 18:31:57 +00:00
binutils This commit was generated by cvs2svn to compensate for changes in r159399, 2006-06-08 13:10:51 +00:00
bsnmp This commit was generated by cvs2svn to compensate for changes in r163820, 2006-10-31 09:00:35 +00:00
bzip2 Fix ipfw packet matching errors with address tables. 2005-06-29 21:36:49 +00:00
com_err Sort sections. 2006-09-17 18:52:28 +00:00
cpio Correct insecure temporary file usage in texindex. [06:01] 2006-01-11 08:02:16 +00:00
csup Import the latest snapshot of csup (20060313). 2006-03-14 03:51:13 +00:00
cvs Add the '-n' option which is the opposite of '-N', "Do not list tags." 2006-12-12 03:20:36 +00:00
diff Make diff(1) follow traditional UNIX SOP of later options nullify earlier 2005-06-03 06:46:56 +00:00
expat
file This commit was generated by cvs2svn to compensate for changes in r159825, 2006-06-21 09:28:00 +00:00
gcc Fixed -mprofiler-epilogue. The garbage collector apparently doesn't 2006-10-25 07:29:22 +00:00
gdb This commit was generated by cvs2svn to compensate for changes in r161561, 2006-08-24 02:43:20 +00:00
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 This commit was generated by cvs2svn to compensate for changes in r157181, 2006-03-27 18:15:24 +00:00
ipfilter Resolve conflicts 2006-08-16 12:23:02 +00:00
less Resolve conflicts. 2006-08-20 15:50:51 +00:00
libbegemot Vendor patch that adds a microsecond timer function. 2006-12-08 14:45:15 +00:00
libf2c Gcc 3.4.6 F77 runtime support bits (as of 2006/08/25 #116475). 2006-08-26 21:30:30 +00:00
libobjc Gcc 3.4.6 Objective C support bits (as of 2006/08/25 #116475). 2006-08-26 21:30:26 +00:00
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 This commit was generated by cvs2svn to compensate for changes in r146309, 2005-05-17 03:11:29 +00:00
lukemftpd Pull vendor file to HEAD. 2006-08-31 17:11:46 +00:00
ncurses Add instructions for future update. 2007-01-20 08:24:05 +00:00
netcat Resolve conflicts. 2006-05-21 15:52:24 +00:00
ngatm This commit was generated by cvs2svn to compensate for changes in r156678, 2006-03-13 09:37:22 +00:00
ntp This commit was generated by cvs2svn to compensate for changes in r162735, 2006-09-28 16:02:34 +00:00
nvi Remove the dates from these files. They serve no purpose and result in 2005-08-17 15:56:04 +00:00
one-true-awk Update for the 2005/04/24 import. 2005-05-16 19:19:32 +00:00
openbsm Resolve conflicts from OpenBSM 1.0 alpha 12 import. 2006-09-25 11:53:06 +00:00
openpam Fix markup errors caused by a bug in gendoc.pl (see P4 change #78671) 2005-06-17 14:39:09 +00:00
opie Add missing code needed for the detection of IPSec packet replays. [1] 2006-03-22 16:00:42 +00:00
pam_modules/pam_passwdqc
pf From OpenBSD, rev. 1.91: 2006-11-30 18:55:36 +00:00
pnpinfo Sort sections. 2006-09-17 18:52:28 +00:00
sendmail Update to sendmail 8.13.8 2006-08-17 05:16:15 +00:00
smbfs Spell 'connection options' correctly. 2006-08-11 12:35:22 +00:00
tcp_wrappers NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines 2005-05-13 16:31:11 +00:00
tcpdump resolve merge conflicts 2006-09-04 20:25:04 +00:00
tcsh Remove the nls/*/charset files to the exclude list. These files 2006-03-16 04:01:27 +00:00
telnet Markup nits. 2006-09-29 22:51:29 +00:00
texinfo Add note concerning FreeBSD-SA-06:01.texindex. 2006-07-08 07:32:41 +00:00
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 resolve merge conflicts 2006-03-07 05:44:45 +00:00