ip_carp.c (195976) | ip_carp.c (196019) |
---|---|
1/* 2 * Copyright (c) 2002 Michael Shalayeff. All rights reserved. 3 * Copyright (c) 2003 Ryan McBride. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * SERVICES; LOSS OF MIND, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 23 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 24 * THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2002 Michael Shalayeff. All rights reserved. 3 * Copyright (c) 2003 Ryan McBride. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * SERVICES; LOSS OF MIND, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 23 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 24 * THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/netinet/ip_carp.c 195976 2009-07-30 17:40:47Z delphij $"); | 28__FBSDID("$FreeBSD: head/sys/netinet/ip_carp.c 196019 2009-08-01 19:26:27Z rwatson $"); |
29 30#include "opt_carp.h" 31#include "opt_bpf.h" 32#include "opt_inet.h" 33#include "opt_inet6.h" 34 35#include <sys/types.h> 36#include <sys/param.h> --- 10 unchanged lines hidden (view full) --- 47#include <sys/sysctl.h> 48#include <sys/syslog.h> 49#include <sys/signalvar.h> 50#include <sys/filio.h> 51#include <sys/sockio.h> 52 53#include <sys/socket.h> 54#include <sys/vnode.h> | 29 30#include "opt_carp.h" 31#include "opt_bpf.h" 32#include "opt_inet.h" 33#include "opt_inet6.h" 34 35#include <sys/types.h> 36#include <sys/param.h> --- 10 unchanged lines hidden (view full) --- 47#include <sys/sysctl.h> 48#include <sys/syslog.h> 49#include <sys/signalvar.h> 50#include <sys/filio.h> 51#include <sys/sockio.h> 52 53#include <sys/socket.h> 54#include <sys/vnode.h> |
55#include <sys/vimage.h> | |
56 57#include <machine/stdarg.h> 58 59#include <net/bpf.h> 60#include <net/ethernet.h> 61#include <net/fddi.h> 62#include <net/iso88025.h> 63#include <net/if.h> 64#include <net/if_clone.h> 65#include <net/if_dl.h> 66#include <net/if_types.h> 67#include <net/route.h> | 55 56#include <machine/stdarg.h> 57 58#include <net/bpf.h> 59#include <net/ethernet.h> 60#include <net/fddi.h> 61#include <net/iso88025.h> 62#include <net/if.h> 63#include <net/if_clone.h> 64#include <net/if_dl.h> 65#include <net/if_types.h> 66#include <net/route.h> |
67#include <net/vnet.h> |
|
68 69#ifdef INET 70#include <netinet/in.h> 71#include <netinet/in_var.h> 72#include <netinet/in_systm.h> 73#include <netinet/ip.h> 74#include <netinet/ip_var.h> 75#include <netinet/if_ether.h> --- 2224 unchanged lines hidden --- | 68 69#ifdef INET 70#include <netinet/in.h> 71#include <netinet/in_var.h> 72#include <netinet/in_systm.h> 73#include <netinet/ip.h> 74#include <netinet/ip_var.h> 75#include <netinet/if_ether.h> --- 2224 unchanged lines hidden --- |