Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 1996 16:54:51 -0500
From:      Matt Crawford <crawdad@FNAL.GOV>
To:        Matt Thomas <matt@lkg.dec.com>
Cc:        ekr@terisa.com, jrb@CS.PDX.EDU, mobile@FREEBSD.org
Subject:   Re: roamabout driver pointer
Message-ID:  <199606282155.QAA18557@munin.fnal.gov>
In-Reply-To: "23 Jun 1996 19:04:02 -0000." <"199606231904.TAA03563"@whydos.lkg.dec.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Greetings.  I obtained the FreeBSD Wavelan driver from
ftp://zymurgy.cs.pdx.edu/pub/mobility/wavelan.freebsd.tar.gz
during the Montreal IETF and made the following small change
which let it work with the INRIA IPv6 stack.

*** if_wlp.c.orig	Wed Jun 26 13:54:46 1996
--- if_wlp.c	Wed Jun 26 14:03:18 1996
***************
*** 92,97 ****
--- 92,100 ----
  #include <netinet/in_var.h>
  #include <netinet/ip.h>
  #include <netinet/if_ether.h>
+ #ifdef INET6
+ #include <netinet/if_ether6.h>
+ #endif
  #endif
  
  #ifdef NS
***************
*** 1839,1844 ****
--- 1842,1855 ----
  			arp_ifinit((struct arpcom *)ifp, ifa);
  			splx(opri);
  			break;
+ #ifdef INET6
+ 		case AF_INET6:
+ 			opri = splimp();
+ 			arp_ifinit((struct arpcom *)ifp, ifa);
+ 			splx(opri);
+ 			ndp6_ifinit(&wlp_ac[unit], ifa);
+ 			break;
+ #endif /* INET6 */
  #endif
  #ifdef NS
  		case AF_NS:




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199606282155.QAA18557>