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.