Age | Commit message (Collapse) | Author |
|
which was removed in rev 1.57. This makes arpbalance work again, and
ensures that only one carp host will reply to a given arp request.
ok mpf@ pascoe@ dhartmei@ deraadt@
|
|
|
|
while t_rtt was 1-based), update callers
2. define and use TCP_RTT_BASE_SHIFT instead of the hardcoded 2.
3. add missing shifts when t_srtt/t_rttvar are used.
4. update the comments: t_srtt uses 5 bits of fraction (not 3)
and t_rttvar uses 4 bits
5. remove obsolete/unused macros TCP_RTT_SCALE and TCP_RTTVAR_SCALE
6. make sure rttmin is not > TCPTV_REXMTMAX
parts from netbsd, ok mcbride, henning
|
|
No functional change due to earlier check,
fix from Maxim Konovalov <maxim@macomnet.ru>
ok deraadt@ dhartmei@
|
|
- sturct -> struct (spotted by pedro)
- elimination of consecutive 'the' words
ok jmc@, henning@, krw@, robert@, some whining by jolan@
|
|
|
|
with an id10t error by yours truly.
|
|
ifp->if_flags & IFF_MULTICAST checks no longer protect against.
ok pascoe@ mpf@
|
|
use our carp_addr_updated callback to detect deletion and reconfigure
appropriately.
ok mcbride@
|
|
with an interface down avoid preempting after a reboot.
Pointed out by Stephen Marley <stephen.marley@catwoman.cl-is.com>
ok pascoe@ mpf@
|
|
|
|
Advertisements run through the carp interface first.
So we just take the address from ifp0.
While we're there,
also remove carp_macmatch6, which isn't used anymore.
Proposed by mcbride@
ok mcbride@, pascoe@
|
|
not addressed to the machine. If the destination is not a local address do a
route lookup for the original source address and use the returned interface
address. This solves problems seen on interfaces with multiple networks
defined. OK henning@ markus@
|
|
- Keep track of allhost multicast address record we joined into
each in_ifaddr and delete it when an address is purged.
- Don't simply try to delete a multicast address record listed in the
ia_multiaddrs. It results a dangling pointer. Let whoever holds a
reference to it to delete it.
mcbride@ markus@ ok
|
|
|
|
From brad@
|
|
Information: http://netweb.usc.edu/pim/
From Pavlin Radoslavov <pavlin@icir.org>
ok deraadt@ brad@
|
|
- Ignore ts_ecr if it is 0, or the resulting rtt is out of range.
(use tp->t_rtttime instead)
- Initialise tcp_now to 1, to avoid the 500ms window where a valid ts_ecr
of 0 could be ignored.
- Convert out-of-range rtt values to valid ones in tcp_xmit_timer().
ok frantzen@ markus@
|
|
|
|
IPv4, and will allow us to get rid of carp_fix_lladdr() and the carp mbuf
tag later).
ok pascoe@ mpf@
|
|
unable to tag a packet, and free mbuf chain on all failures.
ok mcbride@
|
|
substitution.
With this change and the previous ARP changes, all Ethernet packets sent
via a CARP interface should now have the virtual MAC address as the source.
ok mcbride@ niklas@
|
|
ok deraadt, henning, fgsch, mcbride
|
|
instead of processing them in the parent interface. This causes us to send
ARP packets on a carpdev with its virtual MAC address as the source, rather
than the parent's physical address.
Permits us to fail over cleanly when connected to devices that use the
source MAC address on a received ARP request to generate an ARP entry for
the requesting host, rather than going through the who-has/is-at procedure.
ok niklas@ mcbride@
|
|
source MAC address we provide is ignored by ether_output.
ok mcbride@ niklas@
|
|
|
|
|
|
callback after in_ifinit has run. This lets us correct any routes that
in_ifinit has incorrectly added for our interface.
Also be more explicit with the routing checks/changes that we make. This
makes it possible to have different prefix lengths on a CARP interface and
the physical interface it is bound to.
ok mcbride@
|
|
kills a couple of ugly line wraps. From Max Laier.
ok pascoe@
|
|
ok pascoe@ mpf@
|
|
been experiencing output errors.
ok mcbride@
|
|
v6 advertisements are still received the old-fashioned way.
ok mcbride@
|
|
matching in the bridge receive path to make CARP operate correctly
on physical interfaces that are participating in a bridge.
ok mcbride@ henning@ dlg@
|
|
ok pascoe@
|
|
carp_iamatch() on the physical interface.
ok pascoe@ mpf@
|
|
* less hardcoding in format strings for easier maintenance
mcbride ok
|
|
mcbride ok
|
|
|
|
|
|
to trigger a gratuitous arp and update arp tables on other hosts.
|
|
|
|
* M_WAITOK -> M_NOWAIT
* FREE() only when necessary
* join_multicast6 for ip6 addresses
mcbride ok
|
|
From: "Esben Norby (ST/LMD)" <esben.norby@ericsson.com>
ok hshoexer markus millert
|
|
|
|
|
|
dealing with a carp interface.
|
|
style as vlan(4). carp interfaces no longer require the physical interface
to be on the same subnet as the carp interface, or even that the physical
interface has an adress at all, so CARP can now be used on /30 networks.
ok deraadt@ henning@
|
|
that.
|
|
tables only map from 512 to 1023 using bitmaps, sorry); ok hshoexer
|
|
|