tls
b0d2c08b6b
Fix buglet where we might respond to arp on wrong interface.
1998-06-25 20:47:48 +00:00
matt
c0a1601f95
Change arp so its console log messages print out IP addresses in
...
dotted quad format instead of hex.
1998-05-29 15:34:24 +00:00
tls
91de585d5f
Add correct copyright notice for IP address hash change. This code is donated to TNF by the original copyright holder, Panix.
1998-02-15 18:24:23 +00:00
tls
c9934a9084
Change list of interface IP addresses to a hash. Improves performance on hosts with a large number of IP addresses significantly.
1998-02-13 18:21:38 +00:00
thorpej
e5e283e02d
Finishing merging 4.4BSD-Lite2 netinet. At this point, the only changes
...
left were SCCS IDs and Copyright dates.
1998-01-05 10:31:44 +00:00
gwr
011d063b25
Get rid of the messages: "arp: zero IP addr from ..."
...
If one really wants to know about those confused PCs
trying to use IP address zero, they can use tcpdump.
1997-10-31 02:54:08 +00:00
is
fabb33431c
Reimplement a test for broadcast addresses advertized, which was left out
...
when rewriting the ARP system.
1997-10-02 19:41:56 +00:00
gwr
c74236bfc9
Tweaks to allow operation with an interface address of 0.0.0.0
...
(needed for NFS mountroot using BOOTP to get boot parameters)
1997-08-29 16:02:41 +00:00
lukem
fcbcbc2234
struct loif is an array of NLOOP (from "loop.h") elements
1997-08-04 06:18:49 +00:00
gwr
3cb60b969d
Allow revarpwhoami() to be called multiple times.
...
(Just return the answer if we already have it.)
Without this, the RB_ASKNAME loop fails on every
call to nfs_mountroot after the first call.
1997-05-27 23:14:44 +00:00
jtk
e096ee0e10
add newlines at end of debugging log messages which were missing them
1997-04-07 01:48:30 +00:00
is
4555777c80
Fix several bugs related to the new ARP code, and ARCnet ARP support.
...
Among other, add ARPHRD_ARCNET definition, make sure the hardware type is
set on outgoing ARP packets, make sure we dont send out replies as broadcasts.
1997-03-23 01:22:35 +00:00
is
07b064e02e
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.
1997-03-15 18:09:08 +00:00
christos
5545959d0b
backout previous kprintf changes
1996-10-13 02:03:00 +00:00
christos
6d7ad25bea
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:12:43 +00:00
thorpej
63a2506f79
Merge netbsd-1-2 branch back into mainline.
1996-10-09 01:15:04 +00:00
mycroft
e901286aad
When sending an ARP request, use the interface address for the route, rather
...
than the first address assigned. This gives slightly different behaviour in
the presence of aliases. From Bill Fenner, via Pete Bentley.
1996-05-11 12:59:55 +00:00
thorpej
4edabe2501
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:40:22 +00:00
christos
dd7163922a
Fix db_printf formats
1996-03-30 21:53:19 +00:00
christos
14d9cd33af
netinet prototypes
1996-02-13 23:40:59 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
6897f39ae9
Various cleanup, including:
...
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
1995-06-12 00:46:47 +00:00
mycroft
0a99592372
Clean up many more casts.
1995-06-04 05:06:49 +00:00
cgd
05af191f3b
spacing fixups and KNF. #define ether address size, so it's not
...
hardcoded as '6' all over.
1995-05-15 01:30:44 +00:00
cgd
c03b53c2e8
spacing cleaup. also, minor type mixup fixups.
1995-04-17 05:32:52 +00:00
cgd
b5b72d26ea
be a bit more careful and explicit with types. (basically a large no-op.)
1995-04-13 06:25:36 +00:00
mycroft
8b77f9cd5f
Remove some explicit references to loif.
1995-04-11 04:30:47 +00:00
mycroft
99cd177c88
Add a common function to initialize ARP-related variables. `Insired'
...
by Garrett Wollman.
1995-04-07 22:26:04 +00:00
glass
af55380e5a
remove references to arptnew. fix spelling error
1995-03-06 19:06:05 +00:00
mycroft
f21c4cc68a
Fix byte-order bug in printf() statement.
1994-07-27 12:36:09 +00:00
cgd
e4cafbc7da
kill conflicting externs
1994-07-24 02:41:27 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
chopps
9f0089f3ce
config.new hack for if_ether.c for lack of an `and' in the grammer
...
and protect some ether specific code in in.c
1994-06-21 03:54:27 +00:00
gwr
2b888e2990
Back out some of my changes which Keith Sklower convinced me are
...
unnecessary. Leaving in just the essentials of the fix.
1994-06-04 03:15:09 +00:00
gwr
b02ab73537
Avoid accidentaly creating permanent entries at time==0
...
Routes created with RTM_ADD (i.e. manually added) are
permanent so leave their expiration time set to zero.
1994-06-03 02:54:26 +00:00
mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
cgd
e0db92993a
change timeout/untimeout/wakeup/sleep/tsleep args to void *
1994-04-29 23:15:51 +00:00
mycroft
efa2794f99
Dummy arpintr() for now.
1994-04-18 23:25:57 +00:00
glass
a3b042140f
revised nfs diskless support. uses bootp+rpc to gather parameters
1994-04-18 06:18:05 +00:00
hpeyerl
d7038296be
Multicast is no longer optional.
1994-02-02 05:58:50 +00:00
deraadt
ba2361b102
ether_output() & ether_input() take ether_type as a net-short.
...
AF_UNSPEC does not swap byte order of ether_type.
NOTE: this requires driver changes
1994-01-23 23:42:50 +00:00
mycroft
4fe12e6e88
Fix some inconsistent spacing; spaces at the end of lines, etc.
1994-01-08 21:21:28 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
hpeyerl
ded89d12bc
>From cmaeda@cs.washington.edu; part of the multicast patches derived
...
from the Multicast patches for BSDI.
Thanx to Brad Parker for making me realize i'd forgotten to commit
this patch..(color me dopey)
1993-12-12 20:43:06 +00:00
andrew
0e6cb953ea
ANSIfications - removed all implicit function return types and argument
...
definitions. Ensured that all files include "systm.h" to gain access to
general prototypes. Casts where necessary.
1993-06-27 06:01:27 +00:00
cgd
45a57e79ea
more rcsid additions and file header cleanups
1993-05-20 03:49:51 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00