[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.109 and 1.110

version 1.109, 2009/01/19 02:27:57 version 1.110, 2009/09/16 15:23:05
Line 119  int  rip_bind(struct inpcb *, struct mbu
Line 119  int  rip_bind(struct inpcb *, struct mbu
 int      rip_connect(struct inpcb *, struct mbuf *);  int      rip_connect(struct inpcb *, struct mbuf *);
 void     rip_disconnect(struct inpcb *);  void     rip_disconnect(struct inpcb *);
   
   static void sysctl_net_inet_raw_setup(struct sysctllog **);
   
 /*  /*
  * Nominal space allocated to a raw ip socket.   * Nominal space allocated to a raw ip socket.
  */   */
Line 136  void
Line 138  void
 rip_init(void)  rip_init(void)
 {  {
   
           sysctl_net_inet_raw_setup(NULL);
         in_pcbinit(&rawcbtable, 1, 1);          in_pcbinit(&rawcbtable, 1, 1);
 }  }
   
Line 696  release:
Line 699  release:
         return (error);          return (error);
 }  }
   
 SYSCTL_SETUP(sysctl_net_inet_raw_setup, "sysctl net.inet.raw subtree setup")  static void
   sysctl_net_inet_raw_setup(struct sysctllog **clog)
 {  {
   
         sysctl_createv(clog, 0, NULL, NULL,          sysctl_createv(clog, 0, NULL, NULL,

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

CVSweb <webmaster@jp.NetBSD.org>