summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-09-14 02:32:31 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-09-14 02:32:31 +0000
commit2049fdeefd642095c9a48ff287cd6d39afa512b9 (patch)
treeacdb8caf7e3e3cb0961542c254eac01cd39490f0
parentf8f1abafd2d4b58dfd8039ff83b3bc6b810bcc40 (diff)
Notes
-rw-r--r--sys/net/if_iso88025subr.c4
-rw-r--r--sys/netinet6/in6_ifattach.c1
-rw-r--r--sys/netinet6/nd6.c5
-rw-r--r--sys/netinet6/nd6_nbr.c1
4 files changed, 7 insertions, 4 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c
index 6849e906f40b..8be0503bb812 100644
--- a/sys/net/if_iso88025subr.c
+++ b/sys/net/if_iso88025subr.c
@@ -293,7 +293,6 @@ iso88025_output(ifp, m, dst, rt0)
snap_type = ETHERTYPE_IP;
break;
#endif /* INET */
-#ifdef NOT_YET
#ifdef INET6
case AF_INET6:
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
@@ -303,7 +302,6 @@ iso88025_output(ifp, m, dst, rt0)
snap_type = ETHERTYPE_IPV6;
break;
#endif /* INET6 */
-#endif /* NOT_YET */
#ifdef IPX
case AF_IPX:
{
@@ -575,14 +573,12 @@ iso88025_input(ifp, m)
isr = NETISR_IPX;
break;
#endif /* IPX_SNAP */
-#ifdef NOT_YET
#ifdef INET6
case ETHERTYPE_IPV6:
th->iso88025_shost[0] &= ~(TR_RII);
isr = NETISR_IPV6;
break;
#endif /* INET6 */
-#endif /* NOT_YET */
default:
printf("iso88025_input: unexpected llc_snap ether_type 0x%02x\n", type);
ifp->if_noproto++;
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
index 58d09a760c8c..88e29c830101 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -263,6 +263,7 @@ found:
switch (ifp->if_type) {
case IFT_ETHER:
case IFT_FDDI:
+ case IFT_ISO88025:
case IFT_ATM:
case IFT_IEEE1394:
#ifdef IFT_IEEE80211
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index 2a66bb674ca8..8fc4abf01765 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -62,6 +62,7 @@
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/if_atm.h>
+#include <net/iso88025.h>
#include <net/fddi.h>
#include <net/route.h>
@@ -234,6 +235,9 @@ nd6_setmtu(ifp)
ndi->maxmtu = MIN(ETHERMTU, ifp->if_mtu);
break;
#endif
+ case IFT_ISO88025:
+ ndi->maxmtu = MIN(ISO88025_MAX_MTU, ifp->if_mtu);
+ break;
default:
ndi->maxmtu = ifp->if_mtu;
break;
@@ -2087,6 +2091,7 @@ nd6_storelladdr(ifp, rt, m, dst, desten)
#ifdef IFT_IEEE80211
case IFT_IEEE80211:
#endif
+ case IFT_ISO88025:
ETHER_MAP_IPV6_MULTICAST(&SIN6(dst)->sin6_addr,
desten);
return(1);
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 16bfbb41aea8..287892e7be20 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -971,6 +971,7 @@ nd6_ifptomac(ifp)
#ifdef IFT_IEEE80211
case IFT_IEEE80211:
#endif
+ case IFT_ISO88025:
return ((caddr_t)(ifp + 1));
break;
default: