version 1.109.2.1, 2017/04/21 16:54:06 |
version 1.110, 2017/01/24 07:09:25 |
Line 712 in6_ifattach(struct ifnet *ifp, struct i |
|
Line 712 in6_ifattach(struct ifnet *ifp, struct i |
|
/* some of the interfaces are inherently not IPv6 capable */ |
/* some of the interfaces are inherently not IPv6 capable */ |
switch (ifp->if_type) { |
switch (ifp->if_type) { |
case IFT_BRIDGE: |
case IFT_BRIDGE: |
case IFT_L2TP: |
|
#ifdef IFT_PFLOG |
#ifdef IFT_PFLOG |
case IFT_PFLOG: |
case IFT_PFLOG: |
#endif |
#endif |
Line 735 in6_ifattach(struct ifnet *ifp, struct i |
|
Line 734 in6_ifattach(struct ifnet *ifp, struct i |
|
return; |
return; |
} |
} |
|
|
|
/* create a multicast kludge storage (if we have not had one) */ |
|
in6_createmkludge(ifp); |
|
|
/* |
/* |
* quirks based on interface type |
* quirks based on interface type |
*/ |
*/ |
Line 809 in6_ifdetach(struct ifnet *ifp) |
|
Line 811 in6_ifdetach(struct ifnet *ifp) |
|
/* nuke any of IPv6 addresses we have */ |
/* nuke any of IPv6 addresses we have */ |
if_purgeaddrs(ifp, AF_INET6, in6_purgeaddr); |
if_purgeaddrs(ifp, AF_INET6, in6_purgeaddr); |
|
|
in6_purge_multi(ifp); |
|
|
|
/* remove ip6_mrouter stuff */ |
/* remove ip6_mrouter stuff */ |
ip6_mrouter_detach(ifp); |
ip6_mrouter_detach(ifp); |
|
|
|
/* cleanup multicast address kludge table, if there is any */ |
|
in6_purgemkludge(ifp); |
|
|
/* remove neighbor management table */ |
/* remove neighbor management table */ |
nd6_purge(ifp, NULL); |
nd6_purge(ifp, NULL); |
|
|