ddp_pcb.c (122294) | ddp_pcb.c (122320) |
---|---|
1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT. 4 * | 1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT. 4 * |
5 * $FreeBSD: head/sys/netatalk/ddp_pcb.c 122294 2003-11-08 03:36:32Z sam $ | 5 * $FreeBSD: head/sys/netatalk/ddp_pcb.c 122320 2003-11-08 22:28:40Z sam $ |
6 */ 7 8#include <sys/param.h> 9#include <sys/systm.h> 10#include <sys/malloc.h> 11#include <sys/mbuf.h> 12#include <sys/socket.h> 13#include <sys/socketvar.h> --- 534 unchanged lines hidden (view full) --- 548{ 549 550 atintrq1.ifq_maxlen = IFQ_MAXLEN; 551 atintrq2.ifq_maxlen = IFQ_MAXLEN; 552 aarpintrq.ifq_maxlen = IFQ_MAXLEN; 553 mtx_init(&atintrq1.ifq_mtx, "at1_inq", NULL, MTX_DEF); 554 mtx_init(&atintrq2.ifq_mtx, "at2_inq", NULL, MTX_DEF); 555 mtx_init(&aarpintrq.ifq_mtx, "aarp_inq", NULL, MTX_DEF); | 6 */ 7 8#include <sys/param.h> 9#include <sys/systm.h> 10#include <sys/malloc.h> 11#include <sys/mbuf.h> 12#include <sys/socket.h> 13#include <sys/socketvar.h> --- 534 unchanged lines hidden (view full) --- 548{ 549 550 atintrq1.ifq_maxlen = IFQ_MAXLEN; 551 atintrq2.ifq_maxlen = IFQ_MAXLEN; 552 aarpintrq.ifq_maxlen = IFQ_MAXLEN; 553 mtx_init(&atintrq1.ifq_mtx, "at1_inq", NULL, MTX_DEF); 554 mtx_init(&atintrq2.ifq_mtx, "at2_inq", NULL, MTX_DEF); 555 mtx_init(&aarpintrq.ifq_mtx, "aarp_inq", NULL, MTX_DEF); |
556 netisr_register(NETISR_ATALK1, at1intr, &atintrq1); 557 netisr_register(NETISR_ATALK2, at2intr, &atintrq2); 558 netisr_register(NETISR_AARP, aarpintr, &aarpintrq); | 556 netisr_register(NETISR_ATALK1, at1intr, &atintrq1, 0); 557 netisr_register(NETISR_ATALK2, at2intr, &atintrq2, 0); 558 netisr_register(NETISR_AARP, aarpintr, &aarpintrq, 0); |
559} 560 561#if 0 562static void 563ddp_clean(void ) 564{ 565 struct ddpcb *ddp; 566 --- 28 unchanged lines hidden --- | 559} 560 561#if 0 562static void 563ddp_clean(void ) 564{ 565 struct ddpcb *ddp; 566 --- 28 unchanged lines hidden --- |