Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 13:26:55 -0700
From:      Paul Traina <pst@jnx.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        Terry Lambert <terry@lambert.org>, sos@FreeBSD.org, rgrimes@GndRsh.aac.dev.com, archie@whistle.com, current@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c 
Message-ID:  <199608232026.NAA00417@base.jnx.com>
In-Reply-To: Your message of "Fri, 23 Aug 1996 12:21:12 PDT." <321E04A8.4A7B7C1D@whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
How do you order ANYTHING on a linked list.  Just do it(tm).

  From: Julian Elischer <julian@whistle.com>
  Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c
  Terry Lambert wrote:
  > 
  > > By not agressive enough, I mean I think you have the right idea, but the
  > > syntax
  > > for the hook should be something like:
  > >
  > >       for (hook = iphooks.ipinput.lh_first; hook; hook = hook->next) {
  > >               if (!(*hook)(IP_INPUT, &m, &ip))
  > >                       break;
  > >       }
  
  how can you order them?
  say, I want encrypted NAT.. I need to do the NAT first, because NAT
  peaks inside the packets for hints on ftp transfers etc.
  
  
  julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608232026.NAA00417>