cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_ioctl.c linux_misc.c linux_socket.c src/sys/compat/svr4 svr4_sockio.c src/sys/contrib/ipfilter/netinet ip_auth.c src/sys/contrib/pf/net pf.c pf_if.c pf_ioctl.c pf_subr.c pfvar.h ...

Marko Zec zec at FreeBSD.org
Thu Oct 2 15:39:32 UTC 2008


zec         2008-10-02 15:37:58 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linprocfs linprocfs.c 
    sys/compat/linux     linux_ioctl.c linux_misc.c linux_socket.c 
    sys/compat/svr4      svr4_sockio.c 
    sys/contrib/ipfilter/netinet ip_auth.c 
    sys/contrib/pf/net   pf.c pf_if.c pf_ioctl.c pf_subr.c pfvar.h 
    sys/contrib/rdma     rdma_cma.c 
    sys/dev/cxgb/ulp/iw_cxgb iw_cxgb.c 
    sys/dev/cxgb/ulp/tom cxgb_cpl_io.c 
    sys/dev/firewire     firewire.c 
    sys/fs/cd9660        cd9660_rrip.c 
    sys/kern             kern_jail.c kern_mib.c kern_uuid.c 
                         kern_xxx.c 
    sys/net              bridgestp.c if.c if_bridge.c if_ef.c 
                         if_ethersubr.c if_faith.c if_gif.c 
                         if_gif.h if_gre.c if_loop.c if_mib.c 
                         if_spppsubr.c if_stf.c if_tun.c if_var.h 
                         if_vlan.c raw_cb.c raw_usrreq.c route.c 
                         rtsock.c 
    sys/net80211         ieee80211_ddb.c 
    sys/netgraph         netgraph.h ng_base.c ng_eiface.c ng_gif.c 
                         ng_iface.c 
    sys/netgraph/atm     ng_atm.c 
    sys/netinet          if_ether.c igmp.c in.c in.h in_gif.c 
                         in_mcast.c in_pcb.c in_rmx.c ip6.h 
                         ip_carp.c ip_divert.c ip_fastfwd.c 
                         ip_fw.h ip_fw2.c ip_fw_nat.c ip_icmp.c 
                         ip_input.c ip_ipsec.c ip_mroute.c 
                         ip_options.c ip_output.c raw_ip.c 
                         tcp_hostcache.c tcp_input.c tcp_offload.c 
                         tcp_output.c tcp_reass.c tcp_sack.c 
                         tcp_subr.c tcp_syncache.c tcp_timer.c 
                         tcp_timewait.c tcp_usrreq.c udp_usrreq.c 
    sys/netinet6         dest6.c frag6.c icmp6.c in6.c in6_gif.c 
                         in6_ifattach.c in6_pcb.c in6_proto.c 
                         in6_rmx.c in6_src.c ip6_forward.c 
                         ip6_input.c ip6_ipsec.c ip6_mroute.c 
                         ip6_output.c mld6.c nd6.c nd6_nbr.c 
                         nd6_rtr.c raw_ip6.c route6.c scope6.c 
                         udp6_usrreq.c 
    sys/netipsec         ipsec.c ipsec.h ipsec_input.c 
                         ipsec_mbuf.c ipsec_output.c key.c 
                         keysock.c xform_ah.c xform_esp.c 
                         xform_ipcomp.c xform_ipip.c 
    sys/nfsclient        nfs_diskless.c nfs_vfsops.c nfs_vnops.c 
    sys/rpc              authunix_prot.c 
    sys/sys              sysctl.h vimage.h 
  Added files:
    sys/net              vnet.h 
    sys/netinet          vinet.h 
    sys/netinet6         vinet6.h 
    sys/netipsec         vipsec.h 
  Log:
  SVN rev 183550 on 2008-10-02 15:37:58Z by zec
  
  Step 1.5 of importing the network stack virtualization infrastructure
  from the vimage project, as per plan established at devsummit 08/08:
  http://wiki.freebsd.org/Image/Notes200808DevSummit
  
  Introduce INIT_VNET_*() initializer macros, VNET_FOREACH() iterator
  macros, and CURVNET_SET() context setting macros, all currently
  resolving to NOPs.
  
  Prepare for virtualization of selected SYSCTL objects by introducing a
  family of SYSCTL_V_*() macros, currently resolving to their global
  counterparts, i.e. SYSCTL_V_INT() == SYSCTL_INT().
  
  Move selected #defines from sys/sys/vimage.h to newly introduced header
  files specific to virtualized subsystems (sys/net/vnet.h,
  sys/netinet/vinet.h etc.).
  
  All the changes are verified to have zero functional impact at this
  point in time by doing MD5 comparision between pre- and post-change
  object files(*).
  
  (*) netipsec/keysock.c did not validate depending on compile time options.
  
  Implemented by: julian, bz, brooks, zec
  Reviewed by:    julian, bz, brooks, kris, rwatson, ...
  Approved by:    julian (mentor)
  Obtained from:  //depot/projects/vimage-commit2/...
  X-MFC after:    never
  Sponsored by:   NLnet Foundation, The FreeBSD Foundation
  
  Revision  Changes    Path
  1.124     +1 -0      src/sys/compat/linprocfs/linprocfs.c
  1.144     +3 -0      src/sys/compat/linux/linux_ioctl.c
  1.228     +1 -0      src/sys/compat/linux/linux_misc.c
  1.77      +3 -0      src/sys/compat/linux/linux_socket.c
  1.21      +1 -0      src/sys/compat/svr4/svr4_sockio.c
  1.48      +5 -0      src/sys/contrib/ipfilter/netinet/ip_auth.c
  1.57      +18 -0     src/sys/contrib/pf/net/pf.c
  1.17      +2 -0      src/sys/contrib/pf/net/pf_if.c
  1.37      +2 -0      src/sys/contrib/pf/net/pf_ioctl.c
  1.6       +1 -0      src/sys/contrib/pf/net/pf_subr.c
  1.18      +7 -0      src/sys/contrib/pf/net/pfvar.h
  1.3       +4 -0      src/sys/contrib/rdma/rdma_cma.c
  1.5       +9 -2      src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
  1.25      +4 -0      src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
  1.104     +1 -1      src/sys/dev/firewire/firewire.c
  1.33      +2 -0      src/sys/fs/cd9660/cd9660_rrip.c
  1.82      +1 -0      src/sys/kern/kern_jail.c
  1.92      +7 -2      src/sys/kern/kern_mib.c
  1.15      +1 -0      src/sys/kern/kern_uuid.c
  1.53      +3 -1      src/sys/kern/kern_xxx.c
  1.42      +1 -0      src/sys/net/bridgestp.c
  1.288     +41 -5     src/sys/net/if.c
  1.118     +5 -0      src/sys/net/if_bridge.c
  1.42      +30 -22    src/sys/net/if_ef.c
  1.249     +5 -2      src/sys/net/if_ethersubr.c
  1.44      +1 -0      src/sys/net/if_faith.c
  1.71      +15 -4     src/sys/net/if_gif.c
  1.21      +24 -0     src/sys/net/if_gif.h
  1.52      +3 -0      src/sys/net/if_gre.c
  1.120     +2 -0      src/sys/net/if_loop.c
  1.21      +5 -2      src/sys/net/if_mib.c
  1.130     +1 -0      src/sys/net/if_spppsubr.c
  1.65      +2 -0      src/sys/net/if_stf.c
  1.168     +9 -0      src/sys/net/if_tun.c
  1.122     +2 -0      src/sys/net/if_var.h
  1.129     +4 -0      src/sys/net/if_vlan.c
  1.41      +2 -0      src/sys/net/raw_cb.c
  1.48      +3 -0      src/sys/net/raw_usrreq.c
  1.140     +7 -0      src/sys/net/route.c
  1.150     +5 -0      src/sys/net/rtsock.c
  1.1       +93 -0     src/sys/net/vnet.h (new)
  1.14      +20 -15    src/sys/net80211/ieee80211_ddb.c
  1.17      +21 -6     src/sys/netgraph/atm/ng_atm.c
  1.76      +19 -0     src/sys/netgraph/netgraph.h
  1.165     +5 -1      src/sys/netgraph/ng_base.c
  1.41      +8 -0      src/sys/netgraph/ng_eiface.c
  1.21      +11 -3     src/sys/netgraph/ng_gif.c
  1.52      +8 -0      src/sys/netgraph/ng_iface.c
  1.179     +14 -7     src/sys/netinet/if_ether.c
  1.58      +38 -17    src/sys/netinet/igmp.c
  1.106     +13 -4     src/sys/netinet/in.c
  1.103     +4 -0      src/sys/netinet/in.h
  1.41      +5 -3      src/sys/netinet/in_gif.c
  1.7       +11 -0     src/sys/netinet/in_mcast.c
  1.219     +52 -30    src/sys/netinet/in_pcb.c
  1.62      +30 -16    src/sys/netinet/in_rmx.c
  1.17      +3 -0      src/sys/netinet/ip6.h
  1.57      +3 -0      src/sys/netinet/ip_carp.c
  1.136     +10 -0     src/sys/netinet/ip_divert.c
  1.44      +4 -2      src/sys/netinet/ip_fastfwd.c
  1.118     +81 -0     src/sys/netinet/ip_fw.h
  1.196     +57 -35    src/sys/netinet/ip_fw2.c
  1.5       +8 -0      src/sys/netinet/ip_fw_nat.c
  1.126     +45 -37    src/sys/netinet/ip_icmp.c
  1.344     +87 -49    src/sys/netinet/ip_input.c
  1.12      +3 -0      src/sys/netinet/ip_ipsec.c
  1.142     +15 -0     src/sys/netinet/ip_mroute.c
  1.13      +1 -0      src/sys/netinet/ip_options.c
  1.287     +3 -0      src/sys/netinet/ip_output.c
  1.194     +15 -0     src/sys/netinet/raw_ip.c
  1.23      +35 -20    src/sys/netinet/tcp_hostcache.c
  1.384     +40 -24    src/sys/netinet/tcp_input.c
  1.7       +3 -0      src/sys/netinet/tcp_offload.c
  1.156     +23 -16    src/sys/netinet/tcp_output.c
  1.356     +11 -8     src/sys/netinet/tcp_reass.c
  1.43      +10 -8     src/sys/netinet/tcp_sack.c
  1.317     +70 -25    src/sys/netinet/tcp_subr.c
  1.157     +41 -16    src/sys/netinet/tcp_syncache.c
  1.104     +38 -4     src/sys/netinet/tcp_timer.c
  1.291     +14 -0     src/sys/netinet/tcp_timewait.c
  1.173     +26 -0     src/sys/netinet/tcp_usrreq.c
  1.238     +18 -2     src/sys/netinet/udp_usrreq.c
  1.1       +331 -0    src/sys/netinet/vinet.h (new)
  1.14      +1 -0      src/sys/netinet6/dest6.c
  1.38      +43 -23    src/sys/netinet6/frag6.c
  1.92      +19 -0     src/sys/netinet6/icmp6.c
  1.84      +10 -0     src/sys/netinet6/in6.c
  1.33      +2 -0      src/sys/netinet6/in6_gif.c
  1.47      +12 -0     src/sys/netinet6/in6_ifattach.c
  1.96      +3 -0      src/sys/netinet6/in6_pcb.c
  1.52      +81 -78    src/sys/netinet6/in6_proto.c
  1.26      +12 -0     src/sys/netinet6/in6_rmx.c
  1.56      +12 -0     src/sys/netinet6/in6_src.c
  1.44      +2 -0      src/sys/netinet6/ip6_forward.c
  1.104     +7 -0      src/sys/netinet6/ip6_input.c
  1.13      +3 -0      src/sys/netinet6/ip6_ipsec.c
  1.50      +10 -0     src/sys/netinet6/ip6_mroute.c
  1.121     +7 -0      src/sys/netinet6/ip6_output.c
  1.37      +3 -0      src/sys/netinet6/mld6.c
  1.92      +30 -4     src/sys/netinet6/nd6.c
  1.54      +12 -0     src/sys/netinet6/nd6_nbr.c
  1.43      +19 -1     src/sys/netinet6/nd6_rtr.c
  1.86      +16 -0     src/sys/netinet6/raw_ip6.c
  1.17      +2 -0      src/sys/netinet6/route6.c
  1.20      +9 -0      src/sys/netinet6/scope6.c
  1.95      +17 -0     src/sys/netinet6/udp6_usrreq.c
  1.1       +259 -0    src/sys/netinet6/vinet6.h (new)
  1.32      +86 -52    src/sys/netipsec/ipsec.c
  1.19      +4 -1      src/sys/netipsec/ipsec.h
  1.24      +5 -0      src/sys/netipsec/ipsec_input.c
  1.15      +3 -0      src/sys/netipsec/ipsec_mbuf.c
  1.22      +7 -0      src/sys/netipsec/ipsec_output.c
  1.36      +101 -28   src/sys/netipsec/key.c
  1.23      +12 -0     src/sys/netipsec/keysock.c
  1.1       +188 -0    src/sys/netipsec/vipsec.h (new)
  1.18      +13 -6     src/sys/netipsec/xform_ah.c
  1.23      +10 -4     src/sys/netipsec/xform_esp.c
  1.14      +9 -4      src/sys/netipsec/xform_ipcomp.c
  1.19      +10 -4     src/sys/netipsec/xform_ipip.c
  1.22      +2 -1      src/sys/nfsclient/nfs_diskless.c
  1.215     +1 -0      src/sys/nfsclient/nfs_vfsops.c
  1.291     +3 -0      src/sys/nfsclient/nfs_vnops.c
  1.6       +1 -0      src/sys/rpc/authunix_prot.c
  1.162     +69 -0     src/sys/sys/sysctl.h
  1.5       +29 -312   src/sys/sys/vimage.h


More information about the cvs-src mailing list