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. |
||
---|---|---|
.. | ||
ccitt_proto.c | ||
dll.h | ||
hd_debug.c | ||
hd_input.c | ||
hd_output.c | ||
hd_subr.c | ||
hd_timer.c | ||
hd_var.h | ||
hdlc.h | ||
if_x25subr.c | ||
llc_input.c | ||
llc_output.c | ||
llc_subr.c | ||
llc_timer.c | ||
llc_var.h | ||
Makefile | ||
pk_acct.c | ||
pk_debug.c | ||
pk_extern.h | ||
pk_input.c | ||
pk_llcsubr.c | ||
pk_output.c | ||
pk_subr.c | ||
pk_timer.c | ||
pk_usrreq.c | ||
pk_var.h | ||
pk.h | ||
README.hdlc | ||
README.packet | ||
x25.h | ||
x25acct.h | ||
x25err.h | ||
x25isr.h |
/* $NetBSD: README.packet,v 1.4 1994/06/29 06:36:59 cgd Exp $ */ /* * @(#)README.packet 8.1 (Berkeley) 6/10/93 * * X.25 NETWORK PACKET LEVEL: * * This implementation is based on Recommentation X.25 as agreed at the * March 1976 and the February 1980 meetings of CCITT Study Group VII. * However, not all aspects are implemented. The following is a list of * features which are not yet or may never be implemented: * * 1. D bit * 2. PVC * 3. fast select * * * Note: This implementation is for DTEs only. * * Currently, only the 1976 verison is implemented. * * * Date: February, 1984 * * Author: Gerald W. Neufeld * * Installation: Department of Computer Science * University of British Columbia * Vancouver, BC, CANADA * * To Do: Find some reasonable heuristic for piggybacking packet * level acks. * * Bugs: Clear might be sent before data is all out. * * History: * */