freebsd-dev/sbin/ifconfig
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
..
af_atalk.c
af_inet6.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
af_inet.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
af_ipx.c
af_link.c Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but 2010-08-06 15:09:21 +00:00
af_nd6.c - Accept Router Advertisement messages even when net.inet6.ip6.forwarding=1. 2011-06-06 02:14:23 +00:00
ifbridge.c
ifcarp.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
ifclone.c
ifconfig.8 A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
ifconfig.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
ifconfig.h A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
iffib.c Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
ifgif.c
ifgre.c
ifgroup.c
ifieee80211.c Add quiet time element configuration support to ifconfig. 2011-11-08 14:22:40 +00:00
iflagg.c
ifmac.c
ifmedia.c When setting media always and not just in case of switching to IFM_AUTO 2011-05-15 12:51:00 +00:00
ifpfsync.c
ifvlan.c Add TSO support on VLAN in fconfig(8). 2010-02-20 23:01:09 +00:00
Makefile Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
regdomain.c ifconfig(8) is documented to take a ISO 3166-1 country code to set the 2009-12-15 20:44:12 +00:00
regdomain.h