aboutsummaryrefslogtreecommitdiff
path: root/sys/netnatm
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-01-24 20:39:02 +0000
committerBrian Somers <brian@FreeBSD.org>2000-01-24 20:39:02 +0000
commit367d34f853aa3911180a4159df4d5fa0334ac816 (patch)
tree00b2024367e7191a53f482a1791f101f2af3aaf7 /sys/netnatm
parentbba60a9636aa5b90364c02592059af75481ce5b6 (diff)
Notes
Diffstat (limited to 'sys/netnatm')
-rw-r--r--sys/netnatm/natm_proto.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c
index 58ecaf17d12a..2a37a377043e 100644
--- a/sys/netnatm/natm_proto.c
+++ b/sys/netnatm/natm_proto.c
@@ -30,6 +30,8 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
/*
@@ -44,6 +46,7 @@
#include <sys/domain.h>
#include <net/if.h>
+#include <net/intrq.h>
#include <netinet/in.h>
@@ -103,7 +106,6 @@ static struct domain natmdomain =
natmsw, &natmsw[sizeof(natmsw)/sizeof(natmsw[0])], 0,
0, 0, 0};
-struct ifqueue natmintrq; /* natm packet input queue */
static int natmqmaxlen = IFQ_MAXLEN; /* max # of packets on queue */
#ifdef NATM_STAT
u_int natm_sodropcnt = 0; /* # mbufs dropped due to full sb */
@@ -112,6 +114,7 @@ u_int natm_sookcnt = 0; /* # mbufs ok */
u_int natm_sookbytes = 0; /* # of bytes ok */
#endif
+const int natmintrq_present = 1;
void natm_init()