summaryrefslogtreecommitdiff
path: root/sys/netiso/iso_var.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-19 06:37:39 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-19 06:37:39 +0000
commit70e4be3ea2932a4a2c3c8e85675ba6fe3eb8edcc (patch)
tree72015846dbf72703cf304b4efe000aafa7d8a2ca /sys/netiso/iso_var.h
parent1ec03c593543ff3451fb2102f094e2e24f111e46 (diff)
pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument. pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest. 3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr * (almost noone is using it anyways). benefit: the follwoing command now works. previously we need two route(8) invocations, "add" then "change". # route add -inet6 default ::1 -ifp gif0 remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *. it was introduced by 4.3BSD-reno and never corrected. XXX is eon_rtrequest() change correct regarding to 3rd arg? eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno, so i do not have correct answer in the source code. someone with more clue about netiso-over-ip, please help.
Diffstat (limited to 'sys/netiso/iso_var.h')
-rw-r--r--sys/netiso/iso_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/iso_var.h b/sys/netiso/iso_var.h
index fe533687f6b..22bd2ef39fc 100644
--- a/sys/netiso/iso_var.h
+++ b/sys/netiso/iso_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: iso_var.h,v 1.2 1996/03/04 10:35:43 mickey Exp $ */
+/* $OpenBSD: iso_var.h,v 1.3 2001/01/19 06:37:38 itojun Exp $ */
/* $NetBSD: iso_var.h,v 1.8 1996/02/13 22:10:32 christos Exp $ */
/*-
@@ -160,7 +160,7 @@ int m_datalen __P((struct mbuf *));
int m_compress __P((struct mbuf *, struct mbuf **));
/* iso_snpac.c */
-void llc_rtrequest __P((int, struct rtentry *, struct sockaddr *));
+void llc_rtrequest __P((int, struct rtentry *, struct rt_addrinfo *));
void iso_setmcasts __P((struct ifnet *, int));
int iso_snparesolve __P((struct ifnet *, struct sockaddr_iso *,
caddr_t, int *));