Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6_ifattach.c
Show First 20 Lines • Show All 270 Lines • ▼ Show 20 Lines | found: | ||||
switch (ifp->if_type) { | switch (ifp->if_type) { | ||||
case IFT_BRIDGE: | case IFT_BRIDGE: | ||||
case IFT_ETHER: | case IFT_ETHER: | ||||
case IFT_L2VLAN: | case IFT_L2VLAN: | ||||
case IFT_FDDI: | case IFT_FDDI: | ||||
case IFT_ISO88025: | case IFT_ISO88025: | ||||
case IFT_ATM: | case IFT_ATM: | ||||
case IFT_IEEE1394: | case IFT_IEEE1394: | ||||
case IFT_IEEE80211: | |||||
/* IEEE802/EUI64 cases - what others? */ | /* IEEE802/EUI64 cases - what others? */ | ||||
/* IEEE1394 uses 16byte length address starting with EUI64 */ | /* IEEE1394 uses 16byte length address starting with EUI64 */ | ||||
if (addrlen > 8) | if (addrlen > 8) | ||||
addrlen = 8; | addrlen = 8; | ||||
/* look at IEEE802/EUI64 only */ | /* look at IEEE802/EUI64 only */ | ||||
if (addrlen != 8 && addrlen != 6) { | if (addrlen != 8 && addrlen != 6) { | ||||
IF_ADDR_RUNLOCK(ifp); | IF_ADDR_RUNLOCK(ifp); | ||||
▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines |