History log of /src/sys/netinet/ip_carp.h |
Revision | | Date | Author | Comments |
1.14 |
| 03-Feb-2021 |
roy | CTASSERT -> __CTASSERT to unbreak userland build.
While here move __packed in tcp_debug.h back to where it was and note removal warrants more investigation.
|
1.13 |
| 03-Feb-2021 |
roy | Remove __packed from various network structures
They are already network aligned and adding the __packed attribute just causes needless compiler warnings about accssing members of packed objects.
|
1.12 |
| 12-Oct-2020 |
roy | branches: 1.12.2; carp: link state is DOWN until it becomes a MASTER
This is consitent with other BSD's handling of CARP and means we don't have to carry a custom flag for it.
|
1.11 |
| 16-Jan-2020 |
kardel | Provide SIOCGIFMEDIA ioctl to deliver link status. Add link0 (IFF_LINK0) flag to map INIT state to LINK_STATE_DOWN instead of LINK_STATE_UNKNOWN. This allows routing software to suppress routes to the interface of the carp interface when in init state (e. g. link down in the parent interface).
|
1.10 |
| 14-Sep-2018 |
maxv | branches: 1.10.6; Use non-variadic function pointer in protosw::pr_input.
|
1.9 |
| 22-Aug-2018 |
msaitoh | - Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
1.8 |
| 28-Apr-2016 |
ozaki-r | branches: 1.8.16; 1.8.18; Constify rtentry of if_output
We no longer need to change rtentry below if_output.
The change makes it clear where rtentries are changed (or not) and helps forthcoming locking (os psrefing) rtentries.
|
1.7 |
| 31-Jul-2014 |
ozaki-r | branches: 1.7.4; KNF
|
1.6 |
| 16-Sep-2009 |
pooka | branches: 1.6.22; 1.6.36; Replace a large number of link set based sysctl node creations with calls from subsystem constructors. Benefits both future kernel modules and rump.
no change to sysctl nodes on i386/MONOLITHIC & build tested i386/ALL
|
1.5 |
| 16-Apr-2008 |
dyoung | branches: 1.5.4; C99 does not allow u_int8_t bitfields, so use unsigned int, instead.
|
1.4 |
| 15-Apr-2008 |
thorpej | Make CARP status per-cpu.
|
1.3 |
| 17-Feb-2007 |
dyoung | branches: 1.3.38; KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous parentheses in return statements.
Cosmetic: don't open-code TAILQ_FOREACH().
Cosmetic: change types of variables to avoid oodles of casts: in in6_src.c, avoid casts by changing several route_in6 pointers to struct route pointers. Remove unnecessary casts to caddr_t elsewhere.
Pave the way for eliminating address family-specific route caches: soon, struct route will not embed a sockaddr, but it will hold a reference to an external sockaddr, instead. We will set the destination sockaddr using rtcache_setdst(). (I created a stub for it, but it isn't used anywhere, yet.) rtcache_free() will free the sockaddr. I have extracted from rtcache_free() a helper subroutine, rtcache_clear(). rtcache_clear() will "forget" a cached route, but it will not forget the destination by releasing the sockaddr. I use rtcache_clear() instead of rtcache_free() in rtcache_update(), because rtcache_update() is not supposed to forget the destination.
Constify:
1 Introduce const accessor for route->ro_dst, rtcache_getdst().
2 Constify the 'dst' argument to ifnet->if_output(). This led me to constify a lot of code called by output routines.
3 Constify the sockaddr argument to protosw->pr_ctlinput. This led me to constify a lot of code called by ctlinput routines.
4 Introduce const macros for converting from a generic sockaddr to family-specific sockaddrs, e.g., sockaddr_in: satocsin6, satocsin, et cetera.
|
1.2 |
| 13-Jun-2006 |
riz | branches: 1.2.4; 1.2.10; 1.2.16; Prototype for tvtohz() is no longer needed here.
|
1.1 |
| 18-May-2006 |
liamjfoy | branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
'pseudo-device carp'
Thanks to: joerg@ christos@ riz@ and others who tested Ok: core@
|
1.1.8.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.1.8.1 |
| 18-May-2006 |
kardel | file ip_carp.h was added on branch simonb-timecounters on 2006-06-01 22:38:47 +0000
|
1.1.6.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.1.6.1 |
| 18-May-2006 |
tron | file ip_carp.h was added on branch peter-altq on 2006-05-24 15:50:45 +0000
|
1.1.4.3 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.1.4.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.1.4.1 |
| 18-May-2006 |
yamt | file ip_carp.h was added on branch yamt-pdpolicy on 2006-05-24 10:59:03 +0000
|
1.1.2.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.2.16.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
1.2.10.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.2.10.1 |
| 13-Jun-2006 |
rpaulo | file ip_carp.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:58:47 +0000
|
1.2.4.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.2.4.2 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.2.4.1 |
| 13-Jun-2006 |
yamt | file ip_carp.h was added on branch yamt-lazymbuf on 2006-06-21 15:11:01 +0000
|
1.3.38.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.5.4.1 |
| 11-Mar-2010 |
yamt | sync with head
|
1.6.36.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.6.22.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.6.22.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.7.4.1 |
| 29-May-2016 |
skrll | Sync with HEAD
|
1.8.18.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.8.18.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.8.16.2 |
| 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
1.8.16.1 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.10.6.1 |
| 17-Jan-2020 |
ad | Sync with head.
|
1.12.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|