if_ep.c (1080) | if_ep.c (1264) |
---|---|
1/* 2 * Copyright (c) 1993 Herb Peyerl <hpeyerl@novatel.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * 24 * From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $ | 1/* 2 * Copyright (c) 1993 Herb Peyerl <hpeyerl@novatel.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * 24 * From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $ |
25 * $Id: if_ep.c,v 1.6 1994/01/26 20:18:56 nate Exp $ | 25 * $Id: if_ep.c,v 1.7 1994/02/03 11:51:06 davidg Exp $ |
26 */ 27/* 28 * TODO: 29 * Multi-509 configs. 30 * don't pass unit into epstop. 31 * epintr returns an int for magnum. 0=not for me. 1=for me. -1=whoknows? 32 * deallocate mbufs when ifconfig'd down. 33 */ --- 734 unchanged lines hidden (view full) --- 768 register struct ns_addr *ina = &(IA_SNS(ifa)->sns_addr); 769 770 if (ns_nullhost(*ina)) 771 ina->x_host = 772 *(union ns_host *)(sc->arpcom.ac_enaddr); 773 else { 774 ifp->if_flags &= ~IFF_RUNNING; 775 bcopy((caddr_t) ina->x_host.c_host, | 26 */ 27/* 28 * TODO: 29 * Multi-509 configs. 30 * don't pass unit into epstop. 31 * epintr returns an int for magnum. 0=not for me. 1=for me. -1=whoknows? 32 * deallocate mbufs when ifconfig'd down. 33 */ --- 734 unchanged lines hidden (view full) --- 768 register struct ns_addr *ina = &(IA_SNS(ifa)->sns_addr); 769 770 if (ns_nullhost(*ina)) 771 ina->x_host = 772 *(union ns_host *)(sc->arpcom.ac_enaddr); 773 else { 774 ifp->if_flags &= ~IFF_RUNNING; 775 bcopy((caddr_t) ina->x_host.c_host, |
776 (caddr_t)sc->arpcom.ns_addr | 776 (caddr_t)sc->arpcom.ac_enaddr, |
777 sizeof(sc->arpcom.ac_enaddr)); 778 } 779 epinit(ifp->if_unit); 780 break; 781 } 782#endif 783 default: 784 epinit(ifp->if_unit); --- 176 unchanged lines hidden --- | 777 sizeof(sc->arpcom.ac_enaddr)); 778 } 779 epinit(ifp->if_unit); 780 break; 781 } 782#endif 783 default: 784 epinit(ifp->if_unit); --- 176 unchanged lines hidden --- |