[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.8 and 1.9

version 1.8, 1994/01/08 21:21:55 version 1.9, 1994/01/09 01:06:21
Line 51 
Line 51 
 #include <netinet/ip.h>  #include <netinet/ip.h>
 #include <netinet/ip_var.h>  #include <netinet/ip_var.h>
 #include <netinet/in_pcb.h>  #include <netinet/in_pcb.h>
   #include <netinet/ip_mroute.h>
   
 /*  /*
  * Raw interface to IP protocol.   * Raw interface to IP protocol.
  */   */
   
 struct  sockaddr_in ripdst = { sizeof(ripdst), AF_INET };  struct  sockaddr_in ripdst = { sizeof(ripdst), AF_INET };
 struct  sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET };  struct  sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET };
 struct  sockproto ripproto = { PF_INET };  struct  sockproto ripproto = { PF_INET };
   
 /*  /*
  * Setup generic address and protocol structures   * Setup generic address and protocol structures
  * for raw_input routine, then pass them along with   * for raw_input routine, then pass them along with
  * mbuf chain.   * mbuf chain.
  */   */
   void
 rip_input(m)  rip_input(m)
         struct mbuf *m;          struct mbuf *m;
 {  {
Line 84  rip_input(m)
Line 86  rip_input(m)
  * Tack on options user may have setup with control call.   * Tack on options user may have setup with control call.
  */   */
 #define satosin(sa)     ((struct sockaddr_in *)(sa))  #define satosin(sa)     ((struct sockaddr_in *)(sa))
   int
 rip_output(m, so)  rip_output(m, so)
         register struct mbuf *m;          register struct mbuf *m;
         struct socket *so;          struct socket *so;
Line 129  rip_output(m, so)
Line 132  rip_output(m, so)
 /*  /*
  * Raw IP socket option processing.   * Raw IP socket option processing.
  */   */
   int
 rip_ctloutput(op, so, level, optname, m)  rip_ctloutput(op, so, level, optname, m)
         int op;          int op;
         struct socket *so;          struct socket *so;
Line 223  rip_ctloutput(op, so, level, optname, m)
Line 227  rip_ctloutput(op, so, level, optname, m)
 }  }
   
 /*ARGSUSED*/  /*ARGSUSED*/
   int
 rip_usrreq(so, req, m, nam, control)  rip_usrreq(so, req, m, nam, control)
         register struct socket *so;          register struct socket *so;
         int req;          int req;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb <webmaster@jp.NetBSD.org>