Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   dyoung
Date:           Thu Dec 20 19:53:35 UTC 2007

Modified Files:
        src/sys/dist/ipf/netinet: ip_fil_netbsd.c
        src/sys/dist/pf/net: pf.c
        src/sys/net: if.c if.h if_stf.c route.c route.h rtsock.c
        src/sys/net/agr: if_agr.c
        src/sys/netatalk: ddp_input.c ddp_output.c ddp_usrreq.c
        src/sys/netinet: in_gif.c in_pcb.c ip_etherip.c ip_flow.c ip_input.c
            ip_output.c tcp_input.c tcp_output.c tcp_subr.c
        src/sys/netinet6: frag6.c in6_gif.c in6_pcb.c ip6_etherip.c ip6_flow.c
            ip6_forward.c ip6_output.c ipsec.c nd6_rtr.c udp6_output.c
        src/sys/netiso: clnp_er.c clnp_output.c clnp_subr.c if_eon.c iso_pcb.c
            tp_inet.c tp_iso.c tp_pcb.h tp_subr2.c

Log Message:
Poison struct route->ro_rt uses in the kernel by changing the name
to _ro_rt.  Use rtcache_getrt() to access a route cache's struct
rtentry *.

Introduce struct ifnet->if_dl that always points at the interface
identifier/link-layer address.  Make code that treated the first
ifaddr on struct ifnet->if_addrlist as the interface address use
if_dl, instead.

Remove stale debugging code from net/route.c.  Move the rtflush()
code into rtcache_clear() and delete rtflush().  Delete rtalloc(),
because nothing uses it any more.

Make ND6_HINT an inline, lowercase subroutine, nd6_hint.

I've done my best to convert IP Filter, the ISO stack, and the
AppleTalk stack to rtcache_getrt().  They compile, but I have not
tested them.  I have given the changes to PF, GRE, IPv4 and IPv6
stacks a lot of exercise.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 src/sys/dist/ipf/netinet/ip_fil_netbsd.c
cvs rdiff -r1.42 -r1.43 src/sys/dist/pf/net/pf.c
cvs rdiff -r1.208 -r1.209 src/sys/net/if.c
cvs rdiff -r1.130 -r1.131 src/sys/net/if.h
cvs rdiff -r1.62 -r1.63 src/sys/net/if_stf.c
cvs rdiff -r1.98 -r1.99 src/sys/net/route.c
cvs rdiff -r1.58 -r1.59 src/sys/net/route.h
cvs rdiff -r1.96 -r1.97 src/sys/net/rtsock.c
cvs rdiff -r1.19 -r1.20 src/sys/net/agr/if_agr.c
cvs rdiff -r1.15 -r1.16 src/sys/netatalk/ddp_input.c
cvs rdiff -r1.11 -r1.12 src/sys/netatalk/ddp_output.c
cvs rdiff -r1.25 -r1.26 src/sys/netatalk/ddp_usrreq.c
cvs rdiff -r1.56 -r1.57 src/sys/netinet/in_gif.c
cvs rdiff -r1.120 -r1.121 src/sys/netinet/in_pcb.c
cvs rdiff -r1.6 -r1.7 src/sys/netinet/ip_etherip.c
cvs rdiff -r1.48 -r1.49 src/sys/netinet/ip_flow.c
cvs rdiff -r1.256 -r1.257 src/sys/netinet/ip_input.c
cvs rdiff -r1.185 -r1.186 src/sys/netinet/ip_output.c
cvs rdiff -r1.273 -r1.274 src/sys/netinet/tcp_input.c
cvs rdiff -r1.162 -r1.163 src/sys/netinet/tcp_output.c
cvs rdiff -r1.218 -r1.219 src/sys/netinet/tcp_subr.c
cvs rdiff -r1.39 -r1.40 src/sys/netinet6/frag6.c
cvs rdiff -r1.52 -r1.53 src/sys/netinet6/in6_gif.c
cvs rdiff -r1.90 -r1.91 src/sys/netinet6/in6_pcb.c
cvs rdiff -r1.6 -r1.7 src/sys/netinet6/ip6_etherip.c
cvs rdiff -r1.10 -r1.11 src/sys/netinet6/ip6_flow.c
cvs rdiff -r1.58 -r1.59 src/sys/netinet6/ip6_forward.c
cvs rdiff -r1.123 -r1.124 src/sys/netinet6/ip6_output.c
cvs rdiff -r1.122 -r1.123 src/sys/netinet6/ipsec.c
cvs rdiff -r1.71 -r1.72 src/sys/netinet6/nd6_rtr.c
cvs rdiff -r1.30 -r1.31 src/sys/netinet6/udp6_output.c
cvs rdiff -r1.22 -r1.23 src/sys/netiso/clnp_er.c
cvs rdiff -r1.20 -r1.21 src/sys/netiso/clnp_output.c
cvs rdiff -r1.29 -r1.30 src/sys/netiso/clnp_subr.c
cvs rdiff -r1.62 -r1.63 src/sys/netiso/if_eon.c
cvs rdiff -r1.40 -r1.41 src/sys/netiso/iso_pcb.c
cvs rdiff -r1.35 -r1.36 src/sys/netiso/tp_inet.c src/sys/netiso/tp_subr2.c
cvs rdiff -r1.31 -r1.32 src/sys/netiso/tp_iso.c
cvs rdiff -r1.21 -r1.22 src/sys/netiso/tp_pcb.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index