#
1.61 |
|
26-Mar-2023 |
andvar |
fix various typos in documentation, comments and sysctl device description. mainly aion -> ation and inlude -> include.
|
Revision tags: netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
#
1.60 |
|
13-Feb-2018 |
martin |
Adapt to ar_tha() changes in if_arp.h rev1.31.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.59 |
|
30-Aug-2011 |
joerg |
static + __printflike + __dead
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
#
1.58 |
|
18-Apr-2009 |
lukem |
Fix WARNS=4 issues (-Wshadow -Wsign-compare -Wextra)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.57 |
|
21-Jul-2008 |
lukem |
branches: 1.57.6; Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
#
1.56 |
|
21-Jul-2008 |
martin |
UBC license does not require an advertizing clause any more - this files where probably missed in the initial sweep due to strange formatting (last clause not explicitly numbered).
FreeBSD converted them (rev. 1.21 pf rarpd.8 and rev 1.41 of rarpd.c in their repository), nearly four years ago.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
#
1.55 |
|
12-May-2006 |
mrg |
branches: 1.55.20; since ar_tha() can return NULL, don't pass it directly to functions that expect real addresses. explicitly KASSERT() that it is not NULL in the kernel and just avoid using it userland.
(the kernel could be more defensive about this, but, until now it would have just crashed anyway.)
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.54 |
|
01-Dec-2004 |
christos |
remove backwards compatibility with non-cloning bpf.
|
#
1.53 |
|
01-Dec-2004 |
christos |
Use /dev/bpf, if _PATH_BPF is defined.
|
#
1.52 |
|
07-Sep-2004 |
jrf |
Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
#
1.51 |
|
12-May-2004 |
tron |
Fix handling of interface aliases if "rarpd" is not invoked with "-a".
|
#
1.50 |
|
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.
|
Revision tags: netbsd-2-0-base
|
#
1.49 |
|
13-Jul-2003 |
itojun |
branches: 1.49.2; use bounded string op
|
#
1.48 |
|
15-May-2003 |
itojun |
assume presense of getifaddrs(3).
|
Revision tags: fvdl_fs64_base
|
#
1.47 |
|
21-Oct-2002 |
lukem |
tweak usage now that multiple interfaces are supported...
|
#
1.46 |
|
17-Oct-2002 |
thorpej |
Allow more than one interface to be specified on the command line.
|
#
1.45 |
|
14-Jul-2002 |
wiz |
ANSIfy. Remove ifndef __STDC__. Remove __P(). Remove register.
|
Revision tags: netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.44 |
|
11-Jan-2002 |
itojun |
branches: 1.44.2; daemon(3) has to be called prior to file descriptor initialization.
|
#
1.43 |
|
24-Sep-2001 |
wiz |
va_{start,end} audit: Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
|
#
1.42 |
|
11-Jan-2001 |
enami |
Kill no longer used variable decl.
|
#
1.41 |
|
11-Jan-2001 |
lukem |
use explicit name rather than __progname in openlog
|
#
1.40 |
|
20-Nov-2000 |
is |
With RARP, MAC asks, and IP answers. Fixes PR 11330 by Thilo Manske, who also provided the fix (modulo formatting).
|
#
1.39 |
|
11-Oct-2000 |
is |
More format string cleanups by sommerfeld.
|
#
1.38 |
|
30-Aug-2000 |
abs |
Include the fact we're making replies in the debug() output.
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.37 |
|
13-Apr-2000 |
itojun |
branches: 1.37.4; use getifaddrs to avoid alignment constraints in SIOCGIFCONF. (do you have PR # for this? >lukem)
|
#
1.36 |
|
11-Feb-2000 |
abs |
Indicate on which interface a packet has been received when debugging
|
#
1.35 |
|
07-Feb-2000 |
nathanw |
Copy struct ifreq returned by SIOGIFCONF to ensure correct alignment.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.34 |
|
26-Sep-1999 |
kleink |
Need <sys/param.h> for MAXHOSTNAMELEN.
|
#
1.33 |
|
06-Jun-1999 |
thorpej |
branches: 1.33.2; Use pidfile(3).
|
Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.32 |
|
13-Feb-1999 |
thorpej |
branches: 1.32.2; Fix a logic error which would have caused a NULL pointer dereference if the client's IP address wasn't found on the interface's network.
|
#
1.31 |
|
11-Jan-1999 |
kleink |
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration of errno.
|
#
1.30 |
|
06-Oct-1998 |
fvdl |
Shut up gcc.
|
#
1.29 |
|
06-Oct-1998 |
matt |
Teach rarpd about interface aliases.
|
#
1.28 |
|
29-Sep-1998 |
mrg |
use daemon(). remove spurious \n from rarperr() call
|
#
1.27 |
|
29-Jul-1998 |
fair |
usage & comment string patch, per PR#5859
|
#
1.26 |
|
13-Jul-1998 |
mrg |
KNF. be safe with buffers. use setsid().
|
#
1.25 |
|
23-Apr-1998 |
mrg |
support /var/run/rarpd.pid
|
#
1.24 |
|
15-Apr-1998 |
mrg |
add a -l (logging) switch.
|
#
1.23 |
|
23-Mar-1998 |
fair |
These changes from PR#3190 (second set of diffs) deal with rarpd refusing to work in "-a" mode on a host with more than one Ethernet, and at least one non-ethernet device. Frankly, the interface initialization loop is badly structured and should be rewritten, and these changes do nothing to fix that. However, they oughta do the requested job, quick & dirty.
|
#
1.22 |
|
24-Nov-1997 |
is |
If we answer a RARP request, also add the mapping to the local arp cache. [This was broken when the 4.4BSD ARP table changes were done, and never repaired.] Inspired by Jarle Greipsland, PR 4531; code stolen from arp.a and cleaned up (mostly removing global variables). XXX As pointed out in the PR, this should be in some library (libutil?), to be usable by other servers like bootpd and dhcpd.
|
Revision tags: netbsd-1-3-base
|
#
1.21 |
|
18-Oct-1997 |
lukem |
branches: 1.21.2; use memcmp/memset/memmove instead of bcmp/bzero/bcopy
|
#
1.20 |
|
17-Oct-1997 |
lukem |
getopt returns -1 not EOF
|
#
1.19 |
|
17-Oct-1997 |
lukem |
WARNSify
|
#
1.18 |
|
21-Jun-1997 |
lukem |
* use MAXHOSTNAMELEN+1 instead of 256 * don't use LOG_CONS - it's unnecessary and spams the console if syslogd fails (a bad thing, really)
From [misc/873] by Giles Lean <giles@nemeton.com.au>: * explain why the name lookup failed * always send debug() via syslog(3) (unlike the PR, which added a -s flag) * enhance the man page a bit (even in the commented out section which is only relevant to the -DREQUIRE_TFTPBOOT case
|
#
1.17 |
|
23-Mar-1997 |
cgd |
fix some u_long vs. u_int32_t bogons in uses of nameserver lookup results.
|
#
1.16 |
|
15-Mar-1997 |
is |
New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will only support Ethernet. Tcpdump itself should be ok, but libpcap needs lot of work.
For the detailed change history, look at the commit log entries for the is-newarp branch.
|
Revision tags: is-newarp-base
|
#
1.15 |
|
10-Mar-1997 |
is |
branches: 1.15.2; back out previoius commit---wasn't intended for The Trunk
|
#
1.14 |
|
10-Mar-1997 |
is |
adapt to new ARP code. still needs work for non-Ethernet.
|
#
1.13 |
|
18-Jan-1997 |
mikel |
cast ether_ntohost() argument to proper type; from Klaus Klein <kleink@layla.inka.de>
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.12 |
|
21-Mar-1996 |
jtc |
Be pedantic, main() returns int in C.
|
#
1.11 |
|
01-Feb-1996 |
mycroft |
If __FreeBSD__, don't swap the type field in the Ethernet II header.
|
#
1.10 |
|
31-Jan-1996 |
hpeyerl |
interface aliases don't count as individual interfaces and hence don't need a seperate bpf. Someone should decide whether to tell netstat about this.
|
#
1.9 |
|
17-Nov-1995 |
thorpej |
New-style RCS id.
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.8 |
|
01-Sep-1995 |
thorpej |
branches: 1.8.2; Make the "/tftpboot/<client-ip-address>" requirement conditional on -DREQUIRE_TFTPBOOT and disable it by default.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.7 |
|
25-May-1994 |
mycroft |
Look up the ether addresses of interfaces *correctly*, and just ditch SIOCSARP altogether.
|
#
1.6 |
|
14-May-1994 |
cgd |
rename constants
|
#
1.5 |
|
30-Mar-1994 |
cgd |
kill bad casts
|
#
1.4 |
|
01-Mar-1994 |
cgd |
put ar_hrd in network byte order. from Christos Zoulas <christos@deshaw.com>
|
#
1.3 |
|
24-Jan-1994 |
deraadt |
bpf writes for ethernet take a network byte order ether_type
|
#
1.2 |
|
12-Jan-1994 |
deraadt |
remove the faster replacement for inet_ntoa because the stupid thing is byte order dependent.
|
#
1.1 |
|
16-Dec-1993 |
deraadt |
original from LBL (part of the tcpdump distrib) SIOCGIFCONF fixup by Roland McGrath <roland@frob.com>
|