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

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

Diff for /src/sys/netinet/raw_ip.c between version 1.140 and 1.142

version 1.140, 2014/08/02 03:55:26 version 1.142, 2014/08/05 05:24:26
Line 558  rip_accept(struct socket *so, struct mbu
Line 558  rip_accept(struct socket *so, struct mbu
 }  }
   
 static int  static int
 rip_bind(struct socket *so, struct mbuf *nam)  rip_bind(struct socket *so, struct mbuf *nam, struct lwp *l)
 {  {
         struct inpcb *inp = sotoinpcb(so);          struct inpcb *inp = sotoinpcb(so);
         struct sockaddr_in *addr;          struct sockaddr_in *addr;
Line 596  release:
Line 596  release:
 }  }
   
 static int  static int
 rip_listen(struct socket *so)  rip_listen(struct socket *so, struct lwp *l)
 {  {
         KASSERT(solocked(so));          KASSERT(solocked(so));
   
Line 604  rip_listen(struct socket *so)
Line 604  rip_listen(struct socket *so)
 }  }
   
 static int  static int
 rip_connect(struct socket *so, struct mbuf *nam)  rip_connect(struct socket *so, struct mbuf *nam, struct lwp *l)
 {  {
         struct inpcb *inp = sotoinpcb(so);          struct inpcb *inp = sotoinpcb(so);
         int error = 0;          int error = 0;
Line 770  rip_usrreq(struct socket *so, int req, s
Line 770  rip_usrreq(struct socket *so, int req, s
         KASSERT(solocked(so));          KASSERT(solocked(so));
         inp = sotoinpcb(so);          inp = sotoinpcb(so);
   
         KASSERT(!control || (req == PRU_SEND || req == PRU_SENDOOB));          KASSERT(!control || (req == PRU_SEND));
         if (inp == NULL) {          if (inp == NULL) {
                 splx(s);                  splx(s);
                 return EINVAL;                  return EINVAL;

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.142

CVSweb <webmaster@jp.NetBSD.org>