[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.93.2.3 and 1.93.2.4

version 1.93.2.3, 2000/12/08 09:18:42 version 1.93.2.4, 2001/01/05 17:36:55
Line 319  ip_init()
Line 319  ip_init()
   
 #ifdef PFIL_HOOKS  #ifdef PFIL_HOOKS
         /* Register our Packet Filter hook. */          /* Register our Packet Filter hook. */
         inet_pfil_hook.ph_key = (void *)(u_long) AF_INET;          inet_pfil_hook.ph_type = PFIL_TYPE_AF;
         inet_pfil_hook.ph_dlt = DLT_RAW;          inet_pfil_hook.ph_af   = AF_INET;
         i = pfil_head_register(&inet_pfil_hook);          i = pfil_head_register(&inet_pfil_hook);
         if (i != 0)          if (i != 0)
                 printf("ip_init: WARNING: unable to register pfil hook, "                  printf("ip_init: WARNING: unable to register pfil hook, "
Line 479  ip_input(struct mbuf *m)
Line 479  ip_input(struct mbuf *m)
         ip = mtod(m, struct ip *);          ip = mtod(m, struct ip *);
 #endif /* PFIL_HOOKS */  #endif /* PFIL_HOOKS */
   
   #ifdef ALTQ
           /* XXX Temporary until ALTQ is changed to use a pfil hook */
           if (altq_input != NULL && (*altq_input)(m, AF_INET) == 0) {
                   /* packet dropped by traffic conditioner */
                   return;
           }
   #endif
   
         /*          /*
          * Convert fields to host representation.           * Convert fields to host representation.
          */           */

Legend:
Removed from v.1.93.2.3  
changed lines
  Added in v.1.93.2.4

CVSweb <webmaster@jp.NetBSD.org>