[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.9 and 1.133

version 1.103.2.9, 2005/04/01 14:31:50 version 1.133, 2005/03/10 05:43:26
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 1338  SYSCTL_SETUP(sysctl_net_inet_udp_setup, 
Line 1336  SYSCTL_SETUP(sysctl_net_inet_udp_setup, 
                        CTL_EOL);                         CTL_EOL);
         sysctl_createv(clog, 0, NULL, NULL,          sysctl_createv(clog, 0, NULL, NULL,
                        CTLFLAG_PERMANENT,                         CTLFLAG_PERMANENT,
                        CTLTYPE_STRUCT, "pcblist",                         CTLTYPE_NODE, "pcblist",
                        SYSCTL_DESCR("UDP protocol control block list"),                         SYSCTL_DESCR("UDP protocol control block list"),
                        sysctl_inpcblist, 0, &udbtable, 0,                         sysctl_inpcblist, 0, &udbtable, 0,
                        CTL_NET, PF_INET, IPPROTO_UDP, CTL_CREATE,                         CTL_NET, PF_INET, IPPROTO_UDP, CTL_CREATE,

Legend:
Removed from v.1.103.2.9  
changed lines
  Added in v.1.133

CVSweb <webmaster@jp.NetBSD.org>