Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2006 14:34:08 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mbuf.c sys_pipe.c sysv_msg.c sysv_sem.c sysv_shm.c uipc_mbuf.c uipc_socket.c uipc_socket2.c uipc_syscalls.c src/sys/sys socketvar.h sysctl.h
Message-ID:  <200606101434.k5AEY8wd046400@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2006-06-10 14:34:08 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mbuf.c sys_pipe.c sysv_msg.c 
                         sysv_sem.c sysv_shm.c uipc_mbuf.c 
                         uipc_socket.c uipc_socket2.c 
                         uipc_syscalls.c 
    sys/sys              socketvar.h sysctl.h 
  Log:
  Move some functions and definitions from uipc_socket2.c to uipc_socket.c:
  
  - Move sonewconn(), which creates new sockets for incoming connections on
    listen sockets, so that all socket allocate code is together in
    uipc_socket.c.
  
  - Move 'maxsockets' and associated sysctls to uipc_socket.c with the
    socket allocation code.
  
  - Move kern.ipc sysctl node to uipc_socket.c, add a SYSCTL_DECL() for it
    to sysctl.h and remove lots of scattered implementations in various
    IPC modules.
  
  - Sort sodealloc() after soalloc() in uipc_socket.c for dependency order
    reasons.  Statisticize soalloc() and sodealloc() as they are now
    required only in uipc_socket.c, and are internal to the socket
    implementation.
  
  After this change, socket allocation and deallocation is entirely
  centralized in one file, and uipc_socket2.c consists entirely of socket
  buffer manipulation and default protocol switch functions.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.25      +0 -1      src/sys/kern/kern_mbuf.c
  1.187     +0 -2      src/sys/kern/sys_pipe.c
  1.61      +0 -1      src/sys/kern/sysv_msg.c
  1.79      +0 -1      src/sys/kern/sysv_sem.c
  1.106     +0 -1      src/sys/kern/sysv_shm.c
  1.166     +0 -1      src/sys/kern/uipc_mbuf.c
  1.268     +171 -36   src/sys/kern/uipc_socket.c
  1.157     +0 -138    src/sys/kern/uipc_socket2.c
  1.229     +0 -1      src/sys/kern/uipc_syscalls.c
  1.149     +0 -2      src/sys/sys/socketvar.h
  1.141     +1 -0      src/sys/sys/sysctl.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606101434.k5AEY8wd046400>