Subject: Re: NetBSD master CVS tree commits
To: None <thorpej@NetBSD.ORG>
From: Greg Hudson <email@example.com>
Date: 08/01/1998 19:01:51
I just saw this commit go by:
> Sat Aug 1 14:51:06 PDT 1998
> Update of /cvsroot/src/lib/libc/sys
> In directory nb00:/tmp/cvs-serv5315
> Modified Files:
> Log Message:
> Protocol Family (PF_*) constants are used to select the domain,
> not Address Family (AF_*).
I've seen this claim before, and when I looked into it, I found that
AF_* constants were used not only in socket(2), but in 21.ipc in the
PSD, as well as in most examples of network code I could find.
Looking at a random sample of programs in the NetBSD tree now, telnet,
ping, xntpd, inetd, and ftpd all use AF_* constants. The only program
I found using PF_* constants is route.
I think trying to split the namespaces of address families and
protocol families is a lost battle at this point, and is only likely
to generate confusion. But I guess the single unix spec might
disagree with me.