opnsense-src/lib/libc/net
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
..
base64.c
byteorder.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ether_addr.c Add and document ether_ntoa_r() and ether_aton_r() functions, which accept 2007-05-13 13:57:45 +00:00
ethers.3 Fix a pathname (s,netinet/if_ether.h,net/ethernet.h,). 2011-08-08 03:09:03 +00:00
eui64.3 Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
eui64.c Add Aerospace Corporation copyrights to EUI64 support files. 2004-06-01 19:30:13 +00:00
gai_strerror.3 Markup fixes. 2006-09-17 21:27:35 +00:00
gai_strerror.c Add NLS catalogs support to gai_strerror(3). 2009-11-09 12:46:59 +00:00
getaddrinfo.3 - forgot to bump a date 2009-01-06 13:10:15 +00:00
getaddrinfo.c Query DNS only once per an address family. 2009-03-29 17:55:11 +00:00
gethostbydns.c Correct the return code from _dns_gethostby*() to correspond 2010-08-15 16:28:08 +00:00
gethostbyht.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
gethostbyname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
gethostbynis.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
gethostnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getifaddrs.3 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
getifaddrs.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
getifmaddrs.3 Sort sections. 2005-01-20 09:17:07 +00:00
getifmaddrs.c Remove unused variables and assignments. 2005-04-08 21:24:23 +00:00
getipnodebyname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getnameinfo.3 Document the AF_LINK extension which was imported from NetBSD. 2007-02-28 21:28:33 +00:00
getnameinfo.c Add missing IEEE1394 support dropped during merge from NetBSD. 2009-11-12 11:54:12 +00:00
getnetbydns.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbyht.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbynis.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetent.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getnetnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getproto.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoent.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getprotoent.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoname.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getservent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getservent.c Use the stored length value instead of calculating it by strlen(). 2010-04-06 12:33:05 +00:00
hesiod.3 Sort sections. 2005-01-20 09:17:07 +00:00
hesiod.c Fix struct FILE * leak on error (in disabled by default hesiod support code). 2011-01-08 10:56:58 +00:00
if_indextoname.3 Add missing includes. 2005-11-23 10:49:07 +00:00
if_indextoname.c
if_nameindex.c
if_nametoindex.c
inet.3 Require users to provide a length information for inet_ntoa_r, 2007-06-14 07:13:28 +00:00
inet6_opt_init.3 Fix inet6_opt_get_val() prototype. 2005-11-23 16:07:54 +00:00
inet6_option_space.3 Markup and grammar fixes. 2005-01-24 18:14:18 +00:00
inet6_rth_space.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
inet6_rthdr_space.3 Markup and grammar fixes. 2005-01-24 18:14:18 +00:00
inet_net.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ip6opt.c ANSIfy. 2009-11-11 15:21:06 +00:00
linkaddr.3 Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere 2007-02-28 21:18:38 +00:00
linkaddr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
Makefile.inc Fix bad rule and bad dependency for nsparser.h that can 2007-11-15 22:39:15 +00:00
map_v4v6.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
name6.c - Getipnodebyname() and getipnodebyaddr() reimplemented through 2007-07-31 16:09:41 +00:00
netdb_private.h Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1: 2006-05-12 15:37:23 +00:00
nscache.c - Correctly define CACHED_SOCKET_PATH as /var/run/nscd after cached to 2007-10-17 23:20:49 +00:00
nscachedcli.c Use _kevent() instead of kevent(). 2006-12-04 17:08:43 +00:00
nsdispatch.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
nsdispatch.c Clear errno for each method dispatch. 2010-10-04 15:28:01 +00:00
nslexer.l Clang related fixes: 2010-10-13 16:57:06 +00:00
nsparser.y fix memory leak from reading nsswitch.conf 2007-05-17 03:33:23 +00:00
nss_backends.h
nss_compat.c When a dynamic NSS module is built and linked against a thread 2004-03-30 15:56:15 +00:00
ntoh.c Instead of re-implementing hton[ls] and friends for each arch, add a new MI 2006-11-06 22:07:47 +00:00
rcmd.3 Add a missing .El. 2009-03-01 05:47:14 +00:00
rcmd.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rcmdsh.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rcmdsh.c
recv.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
res_config.h Update the resolver in libc to BIND9's one. 2006-03-21 16:11:11 +00:00
resolver.3 Document how to enable strict RFC 1034 enforcements. 2009-05-29 07:55:44 +00:00
rthdr.c Make inet6_rth_* family of functions more compliant with RFC3542: 2007-04-19 15:48:16 +00:00
sctp_bindx.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_connectx.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_freepaddrs.3 Major cleanup: mdoc macros, style, typos etc. 2007-06-18 10:20:32 +00:00
sctp_getaddrlen.3 Spelling fixes. 2010-08-02 16:01:45 +00:00
sctp_getassocid.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_getpaddrs.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_opt_info.3 Document the latest changes to sctp_opt_info() in the code. 2011-06-18 10:36:05 +00:00
sctp_recvmsg.3 Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
sctp_send.3 Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
sctp_sendmsg.3 Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
sctp_sys_calls.c Fix a bug where sctp_sendmdg() uses uninitialized memory. 2011-12-15 12:35:03 +00:00
send.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sockatmark.3
sockatmark.c
sourcefilter.3 Considerably improve the wording of this man page. 2009-03-04 01:59:14 +00:00
sourcefilter.c Fix an obvious bug in getsourcefilter()'s use of struct __msfilterreq; 2009-04-29 09:58:31 +00:00
Symbol.map Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
vars.c