Date: Tue, 15 Oct 2002 18:54:46 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/contrib/ipfilter/netinet ip_auth.c src/sys/dev/hfa fore_receive.c src/sys/kern subr_mbuf.c uipc_mbuf.c uipc_mbuf2.c src/sys/net bridge.c if_gre.c if_loop.c if_stf.c src/sys/netinet igmp.c in_gif.c ip_divert.c ip_dummynet.c ip_encap.c ip_fw2.c ... Message-ID: <200210160154.g9G1skp7004431@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2002/10/15 18:54:46 PDT Modified files: sys/contrib/ipfilter/netinet ip_auth.c sys/dev/hfa fore_receive.c sys/kern subr_mbuf.c uipc_mbuf.c uipc_mbuf2.c sys/net bridge.c if_gre.c if_loop.c if_stf.c sys/netinet igmp.c in_gif.c ip_divert.c ip_dummynet.c ip_encap.c ip_fw2.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c ip_var.h raw_ip.c tcp_input.c tcp_output.c tcp_subr.c tcp_syncache.c udp_usrreq.c sys/netinet6 icmp6.c in6_gif.c ip6_input.c ip6_mroute.c ip6_output.c ip6_var.h ipsec.c ipsec.h mld6.c nd6_nbr.c raw_ip6.c route6.c udp6_output.c sys/netipx ipx_ip.c sys/sys mbuf.h Log: Replace aux mbufs with packet tags: o instead of a list of mbufs use a list of m_tag structures a la openbsd o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit ABI/module number cookie o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and use this in defining openbsd-compatible m_tag_find and m_tag_get routines o rewrite KAME use of aux mbufs in terms of packet tags o eliminate the most heavily used aux mbufs by adding an additional struct inpcb parameter to ip_output and ip6_output to allow the IPsec code to locate the security policy to apply to outbound packets o bump __FreeBSD_version so code can be conditionalized o fixup ipfilter's call to ip_output based on __FreeBSD_version Reviewed by: julian, luigi (silent), -arch, -net, darren Approved by: julian, silence from everyone else Obtained from: openbsd (mostly) MFC after: 1 month Revision Changes Path 1.30 +2 -1 src/sys/contrib/ipfilter/netinet/ip_auth.c 1.16 +1 -1 src/sys/dev/hfa/fore_receive.c 1.32 +7 -14 src/sys/kern/subr_mbuf.c 1.106 +1 -1 src/sys/kern/uipc_mbuf.c 1.13 +125 -73 src/sys/kern/uipc_mbuf2.c 1.57 +1 -1 src/sys/net/bridge.c 1.7 +1 -1 src/sys/net/if_gre.c 1.72 +1 -2 src/sys/net/if_loop.c 1.25 +1 -1 src/sys/net/if_stf.c 1.37 +1 -1 src/sys/netinet/igmp.c 1.16 +1 -1 src/sys/netinet/in_gif.c 1.68 +1 -1 src/sys/netinet/ip_divert.c 1.54 +1 -1 src/sys/netinet/ip_dummynet.c 1.13 +11 -23 src/sys/netinet/ip_encap.c 1.12 +1 -1 src/sys/netinet/ip_fw2.c 1.71 +1 -1 src/sys/netinet/ip_icmp.c 1.212 +7 -7 src/sys/netinet/ip_input.c 1.80 +2 -2 src/sys/netinet/ip_mroute.c 1.166 +5 -11 src/sys/netinet/ip_output.c 1.66 +2 -1 src/sys/netinet/ip_var.h 1.101 +1 -8 src/sys/netinet/raw_ip.c 1.177 +1 -1 src/sys/netinet/tcp_input.c 1.71 +3 -12 src/sys/netinet/tcp_output.c 1.144 +3 -8 src/sys/netinet/tcp_subr.c 1.26 +4 -10 src/sys/netinet/tcp_syncache.c 1.123 +1 -7 src/sys/netinet/udp_usrreq.c 1.21 +3 -11 src/sys/netinet6/icmp6.c 1.7 +2 -2 src/sys/netinet6/in6_gif.c 1.39 +24 -39 src/sys/netinet6/ip6_input.c 1.16 +1 -1 src/sys/netinet6/ip6_mroute.c 1.41 +3 -5 src/sys/netinet6/ip6_output.c 1.10 +4 -3 src/sys/netinet6/ip6_var.h 1.16 +15 -115 src/sys/netinet6/ipsec.c 1.10 +0 -3 src/sys/netinet6/ipsec.h 1.9 +1 -1 src/sys/netinet6/mld6.c 1.13 +2 -10 src/sys/netinet6/nd6_nbr.c 1.22 +1 -8 src/sys/netinet6/raw_ip6.c 1.6 +3 -4 src/sys/netinet6/route6.c 1.9 +1 -7 src/sys/netinet6/udp6_output.c 1.30 +1 -1 src/sys/netipx/ipx_ip.c 1.107 +117 -62 src/sys/sys/mbuf.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210160154.g9G1skp7004431>