Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed IFT_MIP to IFT_MOBILEIP based on the request of Matt Thomas.

  • Loading branch information...
commit 97e6761b69c537b0a690fbe28bd7243e6d9c93da 1 parent 2a1bc9d
keiichi authored
View
2  freebsd5/sys/net/if_types.h
@@ -246,7 +246,7 @@
#define IFT_PVC 0xf1
#define IFT_FAITH 0xf2
#define IFT_DUMMY 0xf4
-#define IFT_MIP 0xf5
+#define IFT_MOBILEIP 0xf5
#define IFT_PFLOG 0xf6
#define IFT_PFSYNC 0xf7
#define IFT_CARP 0xf8 /* Common Address Redundancy Protocol */
View
4 kame/kame/shisad/babymdd.c
@@ -1,4 +1,4 @@
-/* $Id: babymdd.c,v 1.29 2007/02/19 08:13:03 t-momose Exp $ */
+/* $Id: babymdd.c,v 1.30 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 2004 WIDE Project. All rights reserved.
@@ -1275,7 +1275,7 @@ baby_selection()
ifinfo; ifinfo = ifinfo_next) {
ifinfo_next = LIST_NEXT(ifinfo, ifinfo_entry);
- if (ifinfo->iftype == IFT_MIP)
+ if (ifinfo->iftype == IFT_MOBILEIP)
continue;
if (
#ifdef DSMIP
View
4 kame/kame/shisad/mdd_rtsock.c
@@ -1,4 +1,4 @@
-/* $KAME: mdd_rtsock.c,v 1.3 2005/10/11 15:24:23 mitsuya Exp $ */
+/* $KAME: mdd_rtsock.c,v 1.4 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 2004 WIDE Project. All rights reserved.
*
@@ -429,7 +429,7 @@ _get_hoalist()
sdl = (struct sockaddr_dl *)(ifm + 1);
- if (sdl->sdl_type == IFT_MIP) {
+ if (sdl->sdl_type == IFT_MOBILEIP) {
index[indexp++] = ifm->ifm_index;
if (indexp >= 10)
break;
View
4 kame/sys/net/if_mip.c
@@ -1,4 +1,4 @@
-/* $KAME: if_mip.c,v 1.10 2006/08/10 17:55:00 t-momose Exp $ */
+/* $KAME: if_mip.c,v 1.11 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 2004 WIDE Project.
@@ -148,7 +148,7 @@ mipattach(dummy)
sc->mip_if.if_mtu = MIP_MTU;
sc->mip_if.if_ioctl = mip_ioctl;
sc->mip_if.if_output = mip_output;
- sc->mip_if.if_type = IFT_MIP;
+ sc->mip_if.if_type = IFT_MOBILEIP;
#ifdef __NetBSD__
sc->mip_if.if_dlt = DLT_NULL;
#endif
View
8 kame/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $KAME: in6.c,v 1.408 2006/11/14 07:50:23 itojun Exp $ */
+/* $KAME: in6.c,v 1.409 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -815,7 +815,7 @@ in6_control(so, cmd, data, ifp, p)
if (pr0.ndpr_plen == 128) {
break; /* we don't need to install a host route. */
#if defined(MIP6) && NMIP > 0
- } else if ((ia->ia6_flags & IN6_IFF_HOME) && (ifp->if_type == IFT_MIP)) {
+ } else if ((ia->ia6_flags & IN6_IFF_HOME) && (ifp->if_type == IFT_MOBILEIP)) {
break; /* we don't need to install a interface route. for home address */
#endif
}
@@ -2481,8 +2481,8 @@ in6_if2idlen(ifp)
#ifdef IFT_IEEE80211
case IFT_IEEE80211: /* ditto */
#endif
-#ifdef IFT_MIP
- case IFT_MIP: /* ditto */
+#ifdef IFT_MOBILEIP
+ case IFT_MOBILEIP: /* ditto */
#endif
return (64);
case IFT_FDDI: /* RFC2467 */
View
10 kame/sys/netinet6/in6_src.c
@@ -1,4 +1,4 @@
-/* $KAME: in6_src.c,v 1.160 2006/11/14 07:37:00 itojun Exp $ */
+/* $KAME: in6_src.c,v 1.161 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -397,16 +397,16 @@ in6_selectsrc(dstsock, opts, mopts, ro, laddr, ifpp, errorp)
* address and SA is not, then prefer SB.
*/
if (((ia_best->ia6_flags & IN6_IFF_HOME) != 0 &&
- ia_best->ia_ifp->if_type != IFT_MIP)
+ ia_best->ia_ifp->if_type != IFT_MOBILEIP)
&&
((ia->ia6_flags & IN6_IFF_HOME) != 0 &&
- ia->ia_ifp->if_type == IFT_MIP))
+ ia->ia_ifp->if_type == IFT_MOBILEIP))
NEXT(4);
if (((ia_best->ia6_flags & IN6_IFF_HOME) != 0 &&
- ia_best->ia_ifp->if_type == IFT_MIP)
+ ia_best->ia_ifp->if_type == IFT_MOBILEIP)
&&
((ia->ia6_flags & IN6_IFF_HOME) != 0 &&
- ia->ia_ifp->if_type != IFT_MIP))
+ ia->ia_ifp->if_type != IFT_MOBILEIP))
REPLACE(4);
if (ip6po_usecoa == 0) {
/*
View
6 kame/sys/netinet6/mip6.c
@@ -1,4 +1,4 @@
-/* $Id: mip6.c,v 1.246 2007/01/26 12:51:45 keiichi Exp $ */
+/* $Id: mip6.c,v 1.247 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 2004 WIDE Project. All rights reserved.
@@ -1290,7 +1290,7 @@ mip6_are_homeprefix(ndpr)
if (ia6->ia_ifp == NULL)
continue;
- if (ia6->ia_ifp->if_type != IFT_MIP)
+ if (ia6->ia_ifp->if_type != IFT_MOBILEIP)
continue;
if (in6_are_prefix_equal(&ndpr->ndpr_prefix.sin6_addr,
@@ -1312,7 +1312,7 @@ mip6_ifa6_is_addr_valid_hoa(ifa6)
if ((ifa6->ia6_flags & IN6_IFF_HOME) == 0)
return (0);
- if (ifa6->ia_ifp->if_type != IFT_MIP) {
+ if (ifa6->ia_ifp->if_type != IFT_MOBILEIP) {
/* The Mobile Node is attached to the home link */
if ((ifa6->ia6_flags & IN6_IFF_DEREGISTERING) == 0)
return (1);
View
6 kame/sys/netinet6/nd6_rtr.c
@@ -1,4 +1,4 @@
-/* $KAME: nd6_rtr.c,v 1.280 2006/04/22 04:39:16 jinmei Exp $ */
+/* $KAME: nd6_rtr.c,v 1.281 2007/03/30 09:41:15 keiichi Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1625,7 +1625,7 @@ pfxlist_onlink_check()
* even when we don't have autoconfigured
* addresses.
*/
- && !((ifa->ia6_flags & IN6_IFF_HOME) && (ifa->ia_ifp->if_type != IFT_MIP))
+ && !((ifa->ia6_flags & IN6_IFF_HOME) && (ifa->ia_ifp->if_type != IFT_MOBILEIP))
#endif /* MIP6 && NMIP > 0 */
)
continue;
@@ -1647,7 +1647,7 @@ pfxlist_onlink_check()
if (!(ifa->ia6_flags & IN6_IFF_AUTOCONF)
#if defined(MIP6) && NMIP > 0
/* see the comment above. */
- && !((ifa->ia6_flags & IN6_IFF_HOME) && (ifa->ia_ifp->if_type != IFT_MIP))
+ && !((ifa->ia6_flags & IN6_IFF_HOME) && (ifa->ia_ifp->if_type != IFT_MOBILEIP))
#endif /* MIP6 && NMIP > 0 */
)
continue;
View
2  netbsd/sys/net/if_types.h
@@ -265,7 +265,7 @@
#define IFT_GIF 0xf0
#define IFT_PVC 0xf1
#define IFT_FAITH 0xf2
-#define IFT_MIP 0xf4
+#define IFT_MOBILEIP 0xf4
#define IFT_PFLOG 0xf6
#define IFT_PFSYNC 0xf7
#define IFT_IST 0xf9
View
2  openbsd/sys/net/if_types.h
@@ -266,7 +266,7 @@
#define IFT_ENC 0xf4 /* Encapsulation */
#define IFT_PFLOG 0xf5 /* Packet filter logging */
#define IFT_PFSYNC 0xf6 /* Packet filter state syncing */
-#define IFT_MIP 0xf7
+#define IFT_MOBILEIP 0xf7
#define IFT_IST 0xf9
#endif /* _NET_IF_TYPES_H_ */
Please sign in to comment.
Something went wrong with that request. Please try again.