[BACK]Return to udp_usrreq.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/udp_usrreq.c between version 1.103.2.8 and 1.134

version 1.103.2.8, 2005/03/04 16:53:30 version 1.134, 2005/03/11 06:16:16
Line 1116  int udp_recvspace = 40 * (1024 + sizeof(
Line 1116  int udp_recvspace = 40 * (1024 + sizeof(
 /*ARGSUSED*/  /*ARGSUSED*/
 int  int
 udp_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,  udp_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
         struct mbuf *control, struct lwp *l)          struct mbuf *control, struct proc *p)
 {  {
         struct inpcb *inp;          struct inpcb *inp;
         struct proc *p;  
         int s;          int s;
         int error = 0;          int error = 0;
   
         p = l ? l->l_proc : NULL;  
         if (req == PRU_CONTROL)          if (req == PRU_CONTROL)
                 return (in_control(so, (long)m, (caddr_t)nam,                  return (in_control(so, (long)m, (caddr_t)nam,
                     (struct ifnet *)control, p));                      (struct ifnet *)control, p));
Line 1336  SYSCTL_SETUP(sysctl_net_inet_udp_setup, 
Line 1334  SYSCTL_SETUP(sysctl_net_inet_udp_setup, 
                        NULL, 0, &udp_do_loopback_cksum, 0,                         NULL, 0, &udp_do_loopback_cksum, 0,
                        CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_LOOPBACKCKSUM,                         CTL_NET, PF_INET, IPPROTO_UDP, UDPCTL_LOOPBACKCKSUM,
                        CTL_EOL);                         CTL_EOL);
           sysctl_createv(clog, 0, NULL, NULL,
                          CTLFLAG_PERMANENT,
                          CTLTYPE_STRUCT, "pcblist",
                          SYSCTL_DESCR("UDP protocol control block list"),
                          sysctl_inpcblist, 0, &udbtable, 0,
                          CTL_NET, PF_INET, IPPROTO_UDP, CTL_CREATE,
                          CTL_EOL);
 }  }
 #endif  #endif
   

Legend:
Removed from v.1.103.2.8  
changed lines
  Added in v.1.134

CVSweb <webmaster@jp.NetBSD.org>