if_arcsubr.c (127275) | if_arcsubr.c (127290) |
---|---|
1/* $NetBSD: if_arcsubr.c,v 1.36 2001/06/14 05:44:23 itojun Exp $ */ | 1/* $NetBSD: if_arcsubr.c,v 1.36 2001/06/14 05:44:23 itojun Exp $ */ |
2/* $FreeBSD: head/sys/net/if_arcsubr.c 127275 2004-03-21 17:27:41Z mdodd $ */ | 2/* $FreeBSD: head/sys/net/if_arcsubr.c 127290 2004-03-22 03:52:51Z mdodd $ */ |
3 4/* 5 * Copyright (c) 1994, 1995 Ignatios Souvatzis 6 * Copyright (c) 1982, 1989, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 147 unchanged lines hidden (view full) --- 158 case ARPOP_REQUEST: 159 case ARPOP_REPLY: 160 default: 161 atype = ARCTYPE_ARP; 162 break; 163 } 164 165 if (m->m_flags & M_BCAST) | 3 4/* 5 * Copyright (c) 1994, 1995 Ignatios Souvatzis 6 * Copyright (c) 1982, 1989, 1993 7 * The Regents of the University of California. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 147 unchanged lines hidden (view full) --- 158 case ARPOP_REQUEST: 159 case ARPOP_REPLY: 160 default: 161 atype = ARCTYPE_ARP; 162 break; 163 } 164 165 if (m->m_flags & M_BCAST) |
166 bcopy(ifp->if_broadcastaddr, adst, ARC_ADDR_LEN); | 166 bcopy(ifp->if_broadcastaddr, &adst, ARC_ADDR_LEN); |
167 else | 167 else |
168 bcopy(ar_tha(ah), adst, ARC_ADDR_LEN); | 168 bcopy(ar_tha(ah), &adst, ARC_ADDR_LEN); |
169 170 } 171 break; 172#endif 173#ifdef INET6 174 case AF_INET6: 175#ifdef OLDIP6OUTPUT 176 if (!nd6_resolve(ifp, rt, m, dst, (u_char *)&adst)) --- 682 unchanged lines hidden --- | 169 170 } 171 break; 172#endif 173#ifdef INET6 174 case AF_INET6: 175#ifdef OLDIP6OUTPUT 176 if (!nd6_resolve(ifp, rt, m, dst, (u_char *)&adst)) --- 682 unchanged lines hidden --- |