df9784d749
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. |
||
---|---|---|
.. | ||
xebec | ||
argo_debug.h | ||
clnl.h | ||
clnp_debug.c | ||
clnp_er.c | ||
clnp_frag.c | ||
clnp_input.c | ||
clnp_options.c | ||
clnp_output.c | ||
clnp_raw.c | ||
clnp_stat.h | ||
clnp_subr.c | ||
clnp_timer.c | ||
clnp.h | ||
cltp_usrreq.c | ||
cltp_var.h | ||
cons_pcb.h | ||
cons.h | ||
eonvar.h | ||
esis.c | ||
esis.h | ||
idrp_usrreq.c | ||
idrp_var.h | ||
if_cons.c | ||
if_eon.c | ||
iso_chksum.c | ||
iso_errno.h | ||
iso_pcb.c | ||
iso_pcb.h | ||
iso_proto.c | ||
iso_snpac.c | ||
iso_snpac.h | ||
iso_var.h | ||
iso.c | ||
iso.h | ||
Makefile | ||
README | ||
tp_astring.c | ||
tp_clnp.h | ||
tp_cons.c | ||
tp_driver.c | ||
tp_emit.c | ||
tp_events.h | ||
tp_inet.c | ||
tp_input.c | ||
tp_ip.h | ||
tp_iso.c | ||
tp_meas.c | ||
tp_meas.h | ||
tp_output.c | ||
tp_param.h | ||
tp_pcb.c | ||
tp_pcb.h | ||
tp_seq.h | ||
tp_stat.h | ||
tp_states.h | ||
tp_states.init | ||
tp_subr2.c | ||
tp_subr.c | ||
tp_timer.c | ||
tp_timer.h | ||
tp_tpdu.h | ||
tp_trace.c | ||
tp_trace.h | ||
tp_user.h | ||
tp_usrreq.c | ||
tp_var.h | ||
tp.trans |
In case you were wondering why this code is still present: The ISO (or OSI) stack is still in use by many router vendors (e.g., using IS-IS the OSI equivelent of OSPF, to carry IP routes). Chris. chopps@netbsd.org