Diff for /src/sys/net/raw_cb.c between versions 1.6 and 1.7

version 1.6, 2004/06/02 14:42:57 version 1.7, 2004/06/04 01:46:49
Line 90  raw_attach(struct socket *so, int proto, Line 90  raw_attach(struct socket *so, int proto,
  * socket resources.   * socket resources.
  */   */
 void  void
raw_detach(rp)raw_detach(struct rawcb *rp)
        struct rawcb *rp; 
 {  {
         struct socket *so = rp->rcb_socket;          struct socket *so = rp->rcb_socket;
   
Line 110  raw_detach(rp) Line 109  raw_detach(rp)
  * Disconnect and possibly release resources.   * Disconnect and possibly release resources.
  */   */
 void  void
raw_disconnect(rp)raw_disconnect(struct rawcb *rp)
        struct rawcb *rp; 
 {  {
   
 #ifdef notdef  #ifdef notdef
Line 127  raw_disconnect(rp) Line 125  raw_disconnect(rp)
 #include <sys/mbuf.h>  #include <sys/mbuf.h>
   
 int  int
raw_bind(so, nam)raw_bind(struct socket *so, struct mbuf *nam)
        struct socket *so; 
        struct mbuf *nam; 
 {  {
         struct sockaddr *addr = mtod(nam, struct sockaddr *);          struct sockaddr *addr = mtod(nam, struct sockaddr *);
         struct rawcb *rp;          struct rawcb *rp;

Removed from v.1.6  
changed lines
  Added in v.1.7