in6_ifattach.c (216650) | in6_ifattach.c (228571) |
---|---|
1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * 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 --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * $KAME: in6_ifattach.c,v 1.118 2001/05/24 07:44:00 itojun Exp $ 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * 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 --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * $KAME: in6_ifattach.c,v 1.118 2001/05/24 07:44:00 itojun Exp $ 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/netinet6/in6_ifattach.c 216650 2010-12-22 11:58:31Z jhay $"); | 33__FBSDID("$FreeBSD: head/sys/netinet6/in6_ifattach.c 228571 2011-12-16 12:16:56Z glebius $"); |
34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/malloc.h> 38#include <sys/socket.h> 39#include <sys/sockio.h> 40#include <sys/jail.h> 41#include <sys/kernel.h> --- 658 unchanged lines hidden (view full) --- 700{ 701 struct in6_ifaddr *ia; 702 struct in6_addr in6; 703 704 /* some of the interfaces are inherently not IPv6 capable */ 705 switch (ifp->if_type) { 706 case IFT_PFLOG: 707 case IFT_PFSYNC: | 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/malloc.h> 38#include <sys/socket.h> 39#include <sys/sockio.h> 40#include <sys/jail.h> 41#include <sys/kernel.h> --- 658 unchanged lines hidden (view full) --- 700{ 701 struct in6_ifaddr *ia; 702 struct in6_addr in6; 703 704 /* some of the interfaces are inherently not IPv6 capable */ 705 switch (ifp->if_type) { 706 case IFT_PFLOG: 707 case IFT_PFSYNC: |
708 case IFT_CARP: | |
709 return; 710 } 711 712 /* 713 * quirks based on interface type 714 */ 715 switch (ifp->if_type) { 716#ifdef IFT_STF --- 260 unchanged lines hidden --- | 708 return; 709 } 710 711 /* 712 * quirks based on interface type 713 */ 714 switch (ifp->if_type) { 715#ifdef IFT_STF --- 260 unchanged lines hidden --- |