Deleted Added
full compact
natm_proto.c (118541) natm_proto.c (122320)
1/* $NetBSD: natm_proto.c,v 1.3 1996/09/18 00:56:41 chuck Exp $ */
2/*
3 *
4 * Copyright (c) 1996 Charles D. Cranor and Washington University.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 22 unchanged lines hidden (view full) ---

31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34/*
35 * protocol layer for access to native mode ATM
36 */
37
38#include <sys/cdefs.h>
1/* $NetBSD: natm_proto.c,v 1.3 1996/09/18 00:56:41 chuck Exp $ */
2/*
3 *
4 * Copyright (c) 1996 Charles D. Cranor and Washington University.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 22 unchanged lines hidden (view full) ---

31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34/*
35 * protocol layer for access to native mode ATM
36 */
37
38#include <sys/cdefs.h>
39__FBSDID("$FreeBSD: head/sys/netnatm/natm_proto.c 118541 2003-08-06 13:46:15Z harti $");
39__FBSDID("$FreeBSD: head/sys/netnatm/natm_proto.c 122320 2003-11-08 22:28:40Z sam $");
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/kernel.h>
44#include <sys/socket.h>
45#include <sys/protosw.h>
46#include <sys/domain.h>
47

--- 69 unchanged lines hidden (view full) ---

117
118static void
119natm_init(void)
120{
121 LIST_INIT(&natm_pcbs);
122 bzero(&natmintrq, sizeof(natmintrq));
123 natmintrq.ifq_maxlen = natmqmaxlen;
124 mtx_init(&natmintrq.ifq_mtx, "natm_inq", NULL, MTX_DEF);
40
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/kernel.h>
44#include <sys/socket.h>
45#include <sys/protosw.h>
46#include <sys/domain.h>
47

--- 69 unchanged lines hidden (view full) ---

117
118static void
119natm_init(void)
120{
121 LIST_INIT(&natm_pcbs);
122 bzero(&natmintrq, sizeof(natmintrq));
123 natmintrq.ifq_maxlen = natmqmaxlen;
124 mtx_init(&natmintrq.ifq_mtx, "natm_inq", NULL, MTX_DEF);
125 netisr_register(NETISR_NATM, natmintr, &natmintrq);
125 netisr_register(NETISR_NATM, natmintr, &natmintrq, 0);
126}
127
128#if defined(__FreeBSD__)
129DOMAIN_SET(natm);
130#endif
126}
127
128#if defined(__FreeBSD__)
129DOMAIN_SET(natm);
130#endif