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 $"); |
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> --- 220 unchanged lines hidden (view full) --- 262found: 263 IF_ADDR_LOCK_ASSERT(ifp); 264 addr = LLADDR(sdl); 265 addrlen = sdl->sdl_alen; 266 267 /* get EUI64 */ 268 switch (ifp->if_type) { 269 case IFT_ETHER: |
270 case IFT_L2VLAN: |
271 case IFT_FDDI: 272 case IFT_ISO88025: 273 case IFT_ATM: 274 case IFT_IEEE1394: 275#ifdef IFT_IEEE80211 276 case IFT_IEEE80211: 277#endif 278 /* IEEE802/EUI64 cases - what others? */ --- 698 unchanged lines hidden --- |