[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.160.2.2 and 1.160.2.3

version 1.160.2.2, 2009/05/04 08:13:49 version 1.160.2.3, 2009/09/16 13:38:01
Line 555  fsocreate(int domain, struct socket **so
Line 555  fsocreate(int domain, struct socket **so
 }  }
   
 int  int
   sofamily(const struct socket *so)
   {
           const struct protosw *pr;
           const struct domain *dom;
   
           if ((pr = so->so_proto) == NULL)
                   return AF_UNSPEC;
           if ((dom = pr->pr_domain) == NULL)
                   return AF_UNSPEC;
           return dom->dom_family;
   }
   
   int
 sobind(struct socket *so, struct mbuf *nam, struct lwp *l)  sobind(struct socket *so, struct mbuf *nam, struct lwp *l)
 {  {
         int     error;          int     error;

Legend:
Removed from v.1.160.2.2  
changed lines
  Added in v.1.160.2.3

CVSweb <webmaster@jp.NetBSD.org>