[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.114.4.4 and 1.114.4.5

version 1.114.4.4, 2001/03/11 21:10:34 version 1.114.4.5, 2001/04/06 00:24:47
Line 459  ip_input(struct mbuf *m)
Line 459  ip_input(struct mbuf *m)
 #endif  #endif
   
 #ifdef PFIL_HOOKS  #ifdef PFIL_HOOKS
   #ifdef IPSEC
           /*
            * let ipfilter look at packet on the wire,
            * not the decapsulated packet.
            */
           if (ipsec_gethist(m, NULL))
                   goto nofilt;
   #endif
         /*          /*
          * Run through list of hooks for input packets.  If there are any           * Run through list of hooks for input packets.  If there are any
          * filters which require that additional packets in the flow are           * filters which require that additional packets in the flow are
Line 479  ip_input(struct mbuf *m)
Line 487  ip_input(struct mbuf *m)
                                 return;                                  return;
                         ip = mtod(m, struct ip *);                          ip = mtod(m, struct ip *);
                 }                  }
   #ifdef IPSEC
   nofilt:;
   #endif
 #endif /* PFIL_HOOKS */  #endif /* PFIL_HOOKS */
   
         /*          /*
Line 1452  ip_forward(m, srcrt)
Line 1463  ip_forward(m, srcrt)
   
 #ifdef IPSEC  #ifdef IPSEC
         /* Don't lookup socket in forwading case */          /* Don't lookup socket in forwading case */
         ipsec_setsocket(m, NULL);          (void)ipsec_setsocket(m, NULL);
 #endif  #endif
         error = ip_output(m, (struct mbuf *)0, &ipforward_rt,          error = ip_output(m, (struct mbuf *)0, &ipforward_rt,
             (IP_FORWARDING | (ip_directedbcast ? IP_ALLOWBROADCAST : 0)), 0);              (IP_FORWARDING | (ip_directedbcast ? IP_ALLOWBROADCAST : 0)), 0);

Legend:
Removed from v.1.114.4.4  
changed lines
  Added in v.1.114.4.5

CVSweb <webmaster@jp.NetBSD.org>