bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The patch of glibc which allows the user to override the pfinet serv


From: Neal H. Walfield
Subject: Re: The patch of glibc which allows the user to override the pfinet server
Date: Thu, 26 Jun 2008 07:15:09 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/21.4 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 25 Jun 2008 16:44:51 +0200,
zhengda wrote:
> I wonder if it's really necessary to override a single pf server.

When porting pppd, I did this regularly; I used an alternative pfinet
server but continued to use the default pipe server.  I don't see why
you think it would be normal to want to override all of these.  Even
in your specific case of virtualizing the network, I suspect you only
want to override pfinet.

> If more network protocols are implemented, we have to provide more 
> environment variables for the servers.

Or you use an environment variable that is based on a stem and the
protocol number.  So instead of SOCK_INET_SERV_PATH,
SOCK_SERV_%d_PATH.  Perhaps it is best to support both.  The number of
protocol is not increasing at a terribly fast rate.

> The GNU coding standard is a bit long, so I'm not sure if my code meets 
> all GNU standards.

This is better.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]