[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.293 and 1.294

version 1.293, 2010/12/13 14:18:50 version 1.294, 2011/04/14 20:32:04
Line 221  int ip_checkinterface = 0;
Line 221  int ip_checkinterface = 0;
   
 struct rttimer_queue *ip_mtudisc_timeout_q = NULL;  struct rttimer_queue *ip_mtudisc_timeout_q = NULL;
   
 int     ipqmaxlen = IFQ_MAXLEN;  
 u_long  in_ifaddrhash;                          /* size of hash table - 1 */  u_long  in_ifaddrhash;                          /* size of hash table - 1 */
 int     in_ifaddrentries;                       /* total number of addrs */  int     in_ifaddrentries;                       /* total number of addrs */
 struct in_ifaddrhead in_ifaddrhead;  struct in_ifaddrhead in_ifaddrhead;
Line 319  ip_init(void)
Line 318  ip_init(void)
         ip_ids = ip_id_init();          ip_ids = ip_id_init();
         ip_id = time_second & 0xfffff;          ip_id = time_second & 0xfffff;
   
         ipintrq.ifq_maxlen = ipqmaxlen;          ipintrq.ifq_maxlen = IFQ_MAXLEN;
   
         TAILQ_INIT(&in_ifaddrhead);          TAILQ_INIT(&in_ifaddrhead);
         in_ifaddrhashtbl = hashinit(IN_IFADDR_HASH_SIZE, HASH_LIST, true,          in_ifaddrhashtbl = hashinit(IN_IFADDR_HASH_SIZE, HASH_LIST, true,
Line 366  ipintr(void)
Line 365  ipintr(void)
         struct ifqueue lcl_intrq;          struct ifqueue lcl_intrq;
   
         memset(&lcl_intrq, 0, sizeof(lcl_intrq));          memset(&lcl_intrq, 0, sizeof(lcl_intrq));
         ipintrq.ifq_maxlen = ipqmaxlen;  
   
         mutex_enter(softnet_lock);          mutex_enter(softnet_lock);
         KERNEL_LOCK(1, NULL);          KERNEL_LOCK(1, NULL);

Legend:
Removed from v.1.293  
changed lines
  Added in v.1.294

CVSweb <webmaster@jp.NetBSD.org>