[BACK]Return to ip_input.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/ip_input.c between version 1.268.2.4 and 1.268.2.5

version 1.268.2.4, 2009/08/19 18:48:24 version 1.268.2.5, 2010/03/11 15:04:28
Line 383  struct mowner ip_rx_mowner = MOWNER_INIT
Line 383  struct mowner ip_rx_mowner = MOWNER_INIT
 struct mowner ip_tx_mowner = MOWNER_INIT("internet", "tx");  struct mowner ip_tx_mowner = MOWNER_INIT("internet", "tx");
 #endif  #endif
   
   static void sysctl_net_inet_ip_setup(struct sysctllog **);
   
 /*  /*
  * Compute IP limits derived from the value of nmbclusters.   * Compute IP limits derived from the value of nmbclusters.
  */   */
Line 403  ip_init(void)
Line 405  ip_init(void)
         const struct protosw *pr;          const struct protosw *pr;
         int i;          int i;
   
           sysctl_net_inet_ip_setup(NULL);
   
         pool_init(&inmulti_pool, sizeof(struct in_multi), 0, 0, 0, "inmltpl",          pool_init(&inmulti_pool, sizeof(struct in_multi), 0, 0, 0, "inmltpl",
             NULL, IPL_SOFTNET);              NULL, IPL_SOFTNET);
         pool_init(&ipqent_pool, sizeof(struct ipqent), 0, 0, 0, "ipqepl",          pool_init(&ipqent_pool, sizeof(struct ipqent), 0, 0, 0, "ipqepl",
Line 2248  sysctl_net_inet_ip_stats(SYSCTLFN_ARGS)
Line 2252  sysctl_net_inet_ip_stats(SYSCTLFN_ARGS)
         return (NETSTAT_SYSCTL(ipstat_percpu, IP_NSTATS));          return (NETSTAT_SYSCTL(ipstat_percpu, IP_NSTATS));
 }  }
   
 SYSCTL_SETUP(sysctl_net_inet_ip_setup, "sysctl net.inet.ip subtree setup")  static void
   sysctl_net_inet_ip_setup(struct sysctllog **clog)
 {  {
         extern int subnetsarelocal, hostzeroisbroadcast;          extern int subnetsarelocal, hostzeroisbroadcast;
   

Legend:
Removed from v.1.268.2.4  
changed lines
  Added in v.1.268.2.5

CVSweb <webmaster@jp.NetBSD.org>