1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/lib/libc
Gleb Smirnoff 08b68b0e4c A major overhaul of the CARP implementation. The ip_carp.c was started
from scratch, copying needed functionality from the old implemenation
on demand, with a thorough review of all code. The main change is that
interface layer has been removed from the CARP. Now redundant addresses
are configured exactly on the interfaces, they run on.

The CARP configuration itself is, as before, configured and read via
SIOCSVH/SIOCGVH ioctls. A new prefix created with SIOCAIFADDR or
SIOCAIFADDR_IN6 may now be configured to a particular virtual host id,
which makes the prefix redundant.

ifconfig(8) semantics has been changed too: now one doesn't need
to clone carpXX interface, he/she should directly configure a vhid
on a Ethernet interface.

To supply vhid data from the kernel to an application the getifaddrs(8)
function had been changed to pass ifam_data with each address. [1]

The new implementation definitely closes all PRs related to carp(4)
being an interface, and may close several others. It also allows
to run a single redundant IP per interface.

Big thanks to Bjoern Zeeb for his help with inet6 part of patch, for
idea on using ifam_data and for several rounds of reviewing!

PR:		kern/117000, kern/126945, kern/126714, kern/120130, kern/117448
Reviewed by:	bz
Submitted by:	bz [1]
2011-12-16 12:16:56 +00:00
..
amd64 Make sure that stack is 16-byte aligned before calling a function, 2011-11-02 18:06:22 +00:00
arm Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
compat-43
db Fix clang warnings. 2011-06-18 13:56:33 +00:00
gdtoa Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
gen Clean up includes; the prototype for getosreldate() has moved to 2011-12-14 08:35:08 +00:00
gmon
i386 Despite official i386 ABI does not mandate any stack alignment besides 2011-11-02 18:08:30 +00:00
ia64 Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
iconv - Fix a trivial bug in iconv. When there is no space to perform the 2011-09-19 22:49:36 +00:00
include
inet
isc
locale libc: Eliminate 13 relative relocations in wctype(). 2011-12-05 00:00:47 +00:00
mips Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
nameser
net A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
nls
posix1e
powerpc Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
powerpc64 Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
quad
regex Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
resolv Remove meaningless self-assignment in res_send.c, otherwise clang will 2011-12-15 20:10:12 +00:00
rpc In lib/libc/rpc/crypt_client.c, fix a clang warning about an implicit 2011-12-15 20:27:36 +00:00
softfloat
sparc64 Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
stdio Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
stdlib Since clang does not support the tls_model attribute used in malloc.c 2011-12-15 20:40:11 +00:00
stdtime Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
string Revert r227812 and r227808 per discussion 2011-12-02 15:41:09 +00:00
sys The NOTE_COPY should have been named NOTE_FFCOPY from the very 2011-12-07 11:06:18 +00:00
uuid
xdr Add a HISTORY section 2011-07-10 06:57:00 +00:00
yp
Makefile
Versions.def Add a FBSD_1.3 namespace for FreeBSD 10. 2011-10-10 15:42:33 +00:00