3 * ===================================
4 * HARP | Host ATM Research Platform
5 * ===================================
8 * This Host ATM Research Platform ("HARP") file (the "Software") is
9 * made available by Network Computing Services, Inc. ("NetworkCS")
10 * "AS IS". NetworkCS does not provide maintenance, improvements or
11 * support of any kind.
13 * NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
14 * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
15 * AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
16 * SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
17 * In no event shall NetworkCS be responsible for any damages, including
18 * but not limited to consequential damages, arising from or relating to
19 * any use of the Software or related support.
21 * Copyright 1994-1998 Network Computing Services, Inc.
23 * Copies of this Software may be made, however, the above copyright
24 * notice must be reproduced on all copies.
26 * @(#) $FreeBSD: src/sys/netatm/atm_proto.c,v 1.3 1999/08/28 00:48:36 peter Exp $
33 * ATM socket protocol family support definitions
37 #include "kern_include.h"
39 struct protosw atmsw[] = {
41 .pr_type = SOCK_DGRAM, /* ioctl()-only */
42 .pr_domain = &atmdomain,
46 .pr_usrreqs = &atm_dgram_usrreqs
50 .pr_type = SOCK_SEQPACKET, /* AAL-5 */
51 .pr_domain = &atmdomain,
52 .pr_protocol = ATM_PROTO_AAL5,
53 .pr_flags = PR_ATOMIC|PR_CONNREQUIRED,
58 .pr_ctloutput = atm_aal5_ctloutput,
60 .pr_usrreqs = &atm_aal5_usrreqs,
65 .pr_type = SOCK_SEQPACKET, /* SSCOP */
66 .pr_domain = &atmdomain,
67 .pr_protocol = ATM_PROTO_SSCOP,
68 .pr_flags = PR_ATOMIC|PR_CONNREQUIRED|PR_WANTRCVD,
75 NULL, /* pr_ctlport */
85 struct domain atmdomain = {
86 AF_ATM, "atm", atm_initialize, NULL, NULL,
87 atmsw, &atmsw[NELEM(atmsw)],