Date: Mon, 30 Dec 1996 16:06:14 -0800 From: Julian Elischer <julian@whistle.com> To: Julian Assange <proff@iq.org> Cc: hackers@freebsd.org, archie@alpo.whistle.com Subject: Re: divert code not thread/smp compatible Message-ID: <32C858F6.41C67EA6@whistle.com> References: <199612301928.GAA29162@profane.iq.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Assange wrote: I agree.. this should be changed.. I'll point it out to archie.. he shouldbe back tomorrow. thanks. julian (E) > > /* > * ip_input() and ip_output() set this secret value before calling us to > * let us know which divert port to divert a packet to; this is done so > * we can use the existing prototype for struct protosw's pr_input(). > * This is stored in host order. > */ > u_short ip_divert_port; > > /* > * We set this value to a non-zero port number when we want the call to > * ip_fw_chk() in ip_input() or ip_output() to ignore ``divert <port>'' > * chain entries. This is stored in host order. > */ > u_short ip_divert_ignore; > > Is this an acceptable trick in the FreeBSD kernel, passing parameters > with global variables? > > -Julian <proff@iq.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32C858F6.41C67EA6>