cvs commit: src/sys/conf files src/sys/kern uipc_sockbuf.c uipc_socket.c uipc_socket2.c

Robert Watson rwatson at FreeBSD.org
Mon Mar 26 08:59:03 UTC 2007


rwatson     2007-03-26 08:59:03 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             files 
    sys/kern             uipc_sockbuf.c uipc_socket.c 
  Removed files:
    sys/kern             uipc_socket2.c 
  Log:
  Complete removal of uipc_socket2.c by moving the last few functions to
  other C files:
  
  - Move sbcreatecontrol() and sbtoxsockbuf() to uipc_sockbuf.c.  While
    sbcreatecontrol() is really an mbuf allocation routine, it does its work
    with awareness of the layout of socket buffer memory.
  
  - Move pru_*() protocol switch stubs to uipc_socket.c where the non-stub
    versions of several of these functions live.  Likewise, move socket state
    transition calls (soisconnecting(), etc) to uipc_socket.c.  Moveo
    sodupsockaddr() and sotoxsocket().
  
  Revision  Changes    Path
  1.1188    +0 -1      src/sys/conf/files
  1.167     +52 -0     src/sys/kern/uipc_sockbuf.c
  1.296     +298 -0    src/sys/kern/uipc_socket.c
  1.163     +0 -397    src/sys/kern/uipc_socket2.c (dead)


More information about the cvs-src mailing list