[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.65 and 1.67

version 1.65, 2000/03/30 02:39:37 version 1.67, 2000/06/28 03:01:17
Line 79 
Line 79 
 #include <sys/proc.h>  #include <sys/proc.h>
 #include <sys/domain.h>  #include <sys/domain.h>
   
 #include <vm/vm.h>  #include <uvm/uvm_extern.h>
 #include <sys/sysctl.h>  #include <sys/sysctl.h>
   
 #include <net/if.h>  #include <net/if.h>
Line 672  bad:
Line 672  bad:
 static int  static int
 in6_mcmatch(in6p, ia6, ifp)  in6_mcmatch(in6p, ia6, ifp)
         struct in6pcb *in6p;          struct in6pcb *in6p;
         register struct in6_addr *ia6;          struct in6_addr *ia6;
         struct ifnet *ifp;          struct ifnet *ifp;
 {  {
         struct ip6_moptions *im6o = in6p->in6p_moptions;          struct ip6_moptions *im6o = in6p->in6p_moptions;
Line 873  udp_input(m, va_alist)
Line 873  udp_input(m, va_alist)
 #endif  #endif
 {  {
         int proto;          int proto;
         register struct ip *ip;          struct ip *ip;
         register struct udphdr *uh;          struct udphdr *uh;
         register struct inpcb *inp;          struct inpcb *inp;
         struct mbuf *opts = 0;          struct mbuf *opts = 0;
         int len;          int len;
         struct ip save_ip;          struct ip save_ip;
Line 1144  bad:
Line 1144  bad:
  */   */
 static void  static void
 udp_notify(inp, errno)  udp_notify(inp, errno)
         register struct inpcb *inp;          struct inpcb *inp;
         int errno;          int errno;
 {  {
   
Line 1159  udp_ctlinput(cmd, sa, v)
Line 1159  udp_ctlinput(cmd, sa, v)
         struct sockaddr *sa;          struct sockaddr *sa;
         void *v;          void *v;
 {  {
         register struct ip *ip = v;          struct ip *ip = v;
         register struct udphdr *uh;          struct udphdr *uh;
         void (*notify) __P((struct inpcb *, int)) = udp_notify;          void (*notify) __P((struct inpcb *, int)) = udp_notify;
         int errno;          int errno;
   
Line 1197  udp_output(m, va_alist)
Line 1197  udp_output(m, va_alist)
         va_dcl          va_dcl
 #endif  #endif
 {  {
         register struct inpcb *inp;          struct inpcb *inp;
         register struct udpiphdr *ui;          struct udpiphdr *ui;
         register int len = m->m_pkthdr.len;          int len = m->m_pkthdr.len;
         int error = 0;          int error = 0;
         va_list ap;          va_list ap;
   
Line 1278  udp_usrreq(so, req, m, nam, control, p)
Line 1278  udp_usrreq(so, req, m, nam, control, p)
         struct mbuf *m, *nam, *control;          struct mbuf *m, *nam, *control;
         struct proc *p;          struct proc *p;
 {  {
         register struct inpcb *inp;          struct inpcb *inp;
         int s;          int s;
         register int error = 0;          int error = 0;
   
         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,

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.67

CVSweb <webmaster@jp.NetBSD.org>