Domains are associated with protocol families, not address families.

This commit is contained in:
thorpej 1999-01-14 01:16:55 +00:00
parent 54cabada51
commit 4b0e6bb4dc
5 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: at_proto.c,v 1.1 1997/04/02 21:31:06 christos Exp $ */
/* $NetBSD: at_proto.c,v 1.2 1999/01/14 01:19:29 thorpej Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@ -68,7 +68,7 @@ struct protosw atalksw[] = {
};
struct domain atalkdomain = {
AF_APPLETALK, "appletalk", 0, 0, 0,
PF_APPLETALK, "appletalk", 0, 0, 0,
atalksw, &atalksw[sizeof(atalksw)/sizeof(atalksw[0])],
0, rn_inithead,
32,

View File

@ -1,4 +1,4 @@
/* $NetBSD: ccitt_proto.c,v 1.9 1998/09/13 16:21:16 christos Exp $ */
/* $NetBSD: ccitt_proto.c,v 1.10 1999/01/14 01:21:52 thorpej Exp $ */
/*
* Copyright (c) 1984 University of British Columbia.
@ -95,6 +95,6 @@ struct protosw ccittsw[] = {
};
struct domain ccittdomain =
{ AF_CCITT, "ccitt", 0, 0, 0, ccittsw,
{ PF_CCITT, "ccitt", 0, 0, 0, ccittsw,
&ccittsw[sizeof(ccittsw)/sizeof(ccittsw[0])], 0,
rn_inithead, 32, sizeof (struct sockaddr_x25) };

View File

@ -1,4 +1,4 @@
/* $NetBSD: in_proto.c,v 1.28 1999/01/11 21:28:28 thorpej Exp $ */
/* $NetBSD: in_proto.c,v 1.29 1999/01/14 01:16:55 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -177,7 +177,7 @@ struct protosw inetsw[] = {
};
struct domain inetdomain =
{ AF_INET, "internet", 0, 0, 0,
{ PF_INET, "internet", 0, 0, 0,
inetsw, &inetsw[sizeof(inetsw)/sizeof(inetsw[0])], 0,
rn_inithead, 32, sizeof(struct sockaddr_in) };

View File

@ -1,4 +1,4 @@
/* $NetBSD: iso_proto.c,v 1.9 1998/07/05 04:37:43 jonathan Exp $ */
/* $NetBSD: iso_proto.c,v 1.10 1999/01/14 01:22:43 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -165,7 +165,7 @@ struct protosw isosw[] = {
struct domain isodomain = {
AF_ISO, /* family */
PF_ISO, /* family */
"iso-domain", /* name */
0, /* initialize routine */
0, /* externalize access rights */

View File

@ -1,4 +1,4 @@
/* $NetBSD: natm_proto.c,v 1.3 1996/09/18 00:56:41 chuck Exp $ */
/* $NetBSD: natm_proto.c,v 1.4 1999/01/14 01:25:19 thorpej Exp $ */
/*
*
@ -85,7 +85,7 @@ struct protosw natmsw[] = {
};
struct domain natmdomain =
{ AF_NATM, "natm", natm_init, 0, 0,
{ PF_NATM, "natm", natm_init, 0, 0,
natmsw, &natmsw[sizeof(natmsw)/sizeof(natmsw[0])], 0,
0, 0, 0};