[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.294 and 1.295

version 1.294, 2011/04/14 20:32:04 version 1.295, 2011/05/03 17:44:31
Line 278  static struct ip_srcrt {
Line 278  static struct ip_srcrt {
         struct  in_addr route[MAX_IPOPTLEN/sizeof(struct in_addr)];          struct  in_addr route[MAX_IPOPTLEN/sizeof(struct in_addr)];
 } ip_srcrt;  } ip_srcrt;
   
   static int ip_drainwanted;
   
 static void save_rte(u_char *, struct in_addr);  static void save_rte(u_char *, struct in_addr);
   
 #ifdef MBUFTRACE  #ifdef MBUFTRACE
Line 1282  const int inetctlerrmap[PRC_NCMDS] = {
Line 1284  const int inetctlerrmap[PRC_NCMDS] = {
         [PRC_PARAMPROB] = ENOPROTOOPT,          [PRC_PARAMPROB] = ENOPROTOOPT,
 };  };
   
   void
   ip_fasttimo(void)
   {
           if (ip_drainwanted) {
                   ip_drain();
                   ip_drainwanted = 0;
           }
   }
   
   void
   ip_drainstub(void)
   {
           ip_drainwanted = 1;
   }
   
 /*  /*
  * Forward a packet.  If some error occurs return the sender   * Forward a packet.  If some error occurs return the sender
  * an icmp packet.  Note we can't always generate a meaningful   * an icmp packet.  Note we can't always generate a meaningful

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

CVSweb <webmaster@jp.NetBSD.org>