Update calls to rtalloc1().

This commit is contained in:
Garrett Wollman 1994-12-13 22:33:05 +00:00
parent 31246bc25f
commit 93587737d7
3 changed files with 9 additions and 9 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)esis.c 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: esis.c,v 1.2 1994/08/02 07:50:09 davidg Exp $
*/
/***********************************************************
@ -318,7 +318,7 @@ struct rtentry *rt; /* snpa cache info regarding next hop of
if (rt->rt_flags & RTF_GATEWAY) {
rd_gwnsap = &((struct sockaddr_iso *)rt->rt_gateway)->siso_addr;
rt = rtalloc1(rt->rt_gateway, 0);
rt = rtalloc1(rt->rt_gateway, 0, 0UL);
} else
rd_gwnsap = &((struct sockaddr_iso *)rt_key(rt))->siso_addr;
if (rt == 0 || (sdl = (struct sockaddr_dl *)rt->rt_gateway) == 0 ||

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_cons.c 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: if_cons.c,v 1.2 1994/08/02 07:50:20 davidg Exp $
*/
/***********************************************************
@ -61,7 +61,7 @@ SOFTWARE.
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/*
* $Header: /home/ncvs/src/sys/netiso/if_cons.c,v 1.1.1.1 1994/05/24 10:07:14 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/if_cons.c,v 1.2 1994/08/02 07:50:20 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/if_cons.c,v $
*
* cons.c - Connection Oriented Network Service:
@ -725,7 +725,7 @@ NSAPtoDTE(siso, sx25)
nsiso = blank_siso;
bcopy(nsiso.siso_data, siso->siso_data,
nsiso.siso_nlen = siso->siso_nlen);
if (rt = rtalloc1(&nsiso, 1)) {
if (rt = rtalloc1(&nsiso, 1, 0UL)) {
register struct sockaddr_x25 *sxx =
(struct sockaddr_x25 *)rt->rt_gateway;
register char *in = sxx->x25_addr;

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)iso_snpac.c 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: iso_snpac.c,v 1.2 1994/08/02 07:50:44 davidg Exp $
*/
/***********************************************************
@ -60,7 +60,7 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/iso_snpac.c,v 1.1.1.1 1994/05/24 10:07:07 rgrimes Exp $ */
/* $Header: /home/ncvs/src/sys/netiso/iso_snpac.c,v 1.2 1994/08/02 07:50:44 davidg Exp $ */
/* $Source: /home/ncvs/src/sys/netiso/iso_snpac.c,v $ */
#ifdef ISO
@ -395,7 +395,7 @@ int nsellength; /* nsaps may differ only in trailing bytes */
ifp, nsap, snpa, type, ht, nsellength);
ENDDEBUG
zap_isoaddr(dst, nsap);
rt = rtalloc1(S(dst), 0);
rt = rtalloc1(S(dst), 0, 0UL);
IFDEBUG(D_SNPA)
printf("snpac_add: rtalloc1 returns %x\n", rt);
ENDDEBUG
@ -555,7 +555,7 @@ register struct rtentry *sc;
}
known_is = sc;
sc->rt_refcnt++;
rt = rtalloc1((struct sockaddr *)&zsi, 0);
rt = rtalloc1((struct sockaddr *)&zsi, 0, 0UL);
if (rt == 0)
rtrequest(RTM_ADD, S(zsi), rt_key(sc), S(zmk),
RTF_DYNAMIC|RTF_GATEWAY, 0);