>   I'd like to propose a change in struct socket, which should increase its
> functionality. It should first be noted that, along with my IPFW UID/GID
> code (which would be nice to have merged into HEAD too, and if I must, I'll
> clean up the ugly switch part), I included this change. Implementation time
> would be nil, as would testing.

no objection on the struct socket change (but i just wonder, if there
are side effects in changing the struct socket, perhaps one might put
the same parameter in the struct tcpcb/udpcb/inpcb ? after all it is
being used by ipfw only).

On the ipfw side, yes i think the switch to locate & check credential
can be simplified by merging the final part (and perhaps even the
in_pcblookup() calls).

        cheers
        luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, lu...@iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)

                  http://www.iet.unipi.it/~luigi/ngc99/
====  First International Workshop on Networked Group Communication  ====
-----------------------------------+-------------------------------------


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to