natm_proto.c (56555) | natm_proto.c (69152) |
---|---|
1/* $NetBSD: natm_proto.c,v 1.3 1996/09/18 00:56:41 chuck Exp $ */ 2 3/* 4 * 5 * Copyright (c) 1996 Charles D. Cranor and Washington University. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 17 unchanged lines hidden (view full) --- 26 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 * | 1/* $NetBSD: natm_proto.c,v 1.3 1996/09/18 00:56:41 chuck Exp $ */ 2 3/* 4 * 5 * Copyright (c) 1996 Charles D. Cranor and Washington University. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 17 unchanged lines hidden (view full) --- 26 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/netnatm/natm_proto.c 56555 2000-01-24 20:39:02Z brian $ | 34 * $FreeBSD: head/sys/netnatm/natm_proto.c 69152 2000-11-25 07:35:38Z jlemon $ |
35 */ 36 37/* 38 * protocol layer for access to native mode ATM 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> --- 75 unchanged lines hidden (view full) --- 118 119 120void natm_init() 121 122{ 123 LIST_INIT(&natm_pcbs); 124 bzero(&natmintrq, sizeof(natmintrq)); 125 natmintrq.ifq_maxlen = natmqmaxlen; | 35 */ 36 37/* 38 * protocol layer for access to native mode ATM 39 */ 40 41#include <sys/param.h> 42#include <sys/systm.h> --- 75 unchanged lines hidden (view full) --- 118 119 120void natm_init() 121 122{ 123 LIST_INIT(&natm_pcbs); 124 bzero(&natmintrq, sizeof(natmintrq)); 125 natmintrq.ifq_maxlen = natmqmaxlen; |
126 mtx_init(&natmintrq.ifq_mtx, "natm_inq", MTX_DEF); 127 |
|
126} 127 128#if defined(__FreeBSD__) 129DOMAIN_SET(natm); 130#endif | 128} 129 130#if defined(__FreeBSD__) 131DOMAIN_SET(natm); 132#endif |