Home | History | Annotate | Download | only in rbootd
History log of /src/usr.sbin/rbootd/bpf.c
RevisionDateAuthorComments
 1.22  03-Sep-2022  tsutsui Make build with WARNS=5.
 1.21  23-Jan-2018  sevan ansify - drop the K&R style prototypes & implementations.
 1.20  08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.19  18-Apr-2009  lukem branches: 1.19.2;
Fix WARNS=4 issues (-Wsign-compare -Wcast-qual)
 1.18  01-Dec-2004  christos branches: 1.18.34;
Use cloning /dev/bpf
 1.17  30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.16  10-Apr-2004  darrenr With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.) In each of these applications, add code to set the buffer
size to 32k before setting the interface.
 1.15  19-Aug-2003  itojun branches: 1.15.2;
use strlcpy
 1.14  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.
 1.13  13-Jul-2003  itojun use bounded string op
 1.12  15-May-2003  itojun assume presense of getifaddrs(3).
 1.11  05-Feb-2001  lukem set *errmsg to errbuf, preventing coredump if no interfaces are up
 1.10  13-Apr-2000  itojun branches: 1.10.4;
use getifaddrs, not SIOCGIFCONF. (should use pcap_lookupdev instead...)
 1.9  18-Oct-1997  lukem use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy
 1.8  28-Jul-1997  thorpej Fix compiler warnings, build with WARNS.
 1.7  27-Jan-1997  thorpej Remove the SIOCADDMULTI ioctl; it's not meant for user level code. Just
always set promiscuous mode on the interface.
 1.6  14-Nov-1995  thorpej Kill some gratuitous byte-swapping calls, which broke rbootd on the i386
in some cases. No functional change on big-endian systems. From
Scott Reynolds <scottr@plexus.com>.
 1.5  06-Oct-1995  thorpej branches: 1.5.2;
Be safer with types. From Scott Reynolds <scottr@plexus.com>
 1.4  12-Sep-1995  thorpej Changes from Scott Reynolds <scottr@plexus.com> to make this go on
little-endian machines (like the i386).
 1.3  21-Aug-1995  thorpej Use new-style RCS ids.
 1.2  11-Jan-1994  brezak rbootd for booting HP workstations from 4.4BSD/Utah.
 1.1  11-Jan-1994  brezak branches: 1.1.1;
Initial revision
 1.1.1.1  11-Jan-1994  brezak Original version from 4.4BSD/Utah.
 1.5.2.1  14-Nov-1995  thorpej Update from trunk; little-endian fixes, from Scott Reynolds <scottr@plexus.com>
 1.10.4.1  26-Feb-2001  he Pull up revision 1.11 (requested by lukem):
Prevent core dump if no interfaces are up.
 1.15.2.1  21-Apr-2004  jmc Pullup rev 1.16 (requested by darrenr in ticket #167)

Reduce bpf buffer to 32k from 1M to reduce kernel memory usage from userland
binaries.
Fix bpf so that select will return for a timeout.
Fix the behaviour of BIOCIMMEDIATE.
In bpf_mtap(), optimise the calling of bpf_filter() and catchpacket()
based on whether or not the entire packet is in one mbuf.
Various other bpf fixes, including PR#8674, PR#12170
 1.18.34.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.19.2.1  17-Feb-2011  bouyer Sync with HEAD

RSS XML Feed