ddp_usrreq.c (169462) | ddp_usrreq.c (180239) |
---|---|
1/*- 2 * Copyright (c) 2004-2005 Robert N. M. Watson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 33 unchanged lines hidden (view full) --- 42 * Research Systems Unix Group 43 * The University of Michigan 44 * c/o Wesley Craig 45 * 535 W. William Street 46 * Ann Arbor, Michigan 47 * +1-313-764-2278 48 * netatalk@umich.edu 49 * | 1/*- 2 * Copyright (c) 2004-2005 Robert N. M. Watson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 33 unchanged lines hidden (view full) --- 42 * Research Systems Unix Group 43 * The University of Michigan 44 * c/o Wesley Craig 45 * 535 W. William Street 46 * Ann Arbor, Michigan 47 * +1-313-764-2278 48 * netatalk@umich.edu 49 * |
50 * $FreeBSD: head/sys/netatalk/ddp_usrreq.c 169462 2007-05-11 10:20:51Z rwatson $ | 50 * $FreeBSD: head/sys/netatalk/ddp_usrreq.c 180239 2008-07-04 00:21:38Z rwatson $ |
51 */ 52 53#include <sys/param.h> 54#include <sys/systm.h> 55#include <sys/malloc.h> 56#include <sys/mbuf.h> 57#include <sys/socket.h> 58#include <sys/socketvar.h> --- 203 unchanged lines hidden (view full) --- 262 263 atintrq1.ifq_maxlen = IFQ_MAXLEN; 264 atintrq2.ifq_maxlen = IFQ_MAXLEN; 265 aarpintrq.ifq_maxlen = IFQ_MAXLEN; 266 mtx_init(&atintrq1.ifq_mtx, "at1_inq", NULL, MTX_DEF); 267 mtx_init(&atintrq2.ifq_mtx, "at2_inq", NULL, MTX_DEF); 268 mtx_init(&aarpintrq.ifq_mtx, "aarp_inq", NULL, MTX_DEF); 269 DDP_LIST_LOCK_INIT(); | 51 */ 52 53#include <sys/param.h> 54#include <sys/systm.h> 55#include <sys/malloc.h> 56#include <sys/mbuf.h> 57#include <sys/socket.h> 58#include <sys/socketvar.h> --- 203 unchanged lines hidden (view full) --- 262 263 atintrq1.ifq_maxlen = IFQ_MAXLEN; 264 atintrq2.ifq_maxlen = IFQ_MAXLEN; 265 aarpintrq.ifq_maxlen = IFQ_MAXLEN; 266 mtx_init(&atintrq1.ifq_mtx, "at1_inq", NULL, MTX_DEF); 267 mtx_init(&atintrq2.ifq_mtx, "at2_inq", NULL, MTX_DEF); 268 mtx_init(&aarpintrq.ifq_mtx, "aarp_inq", NULL, MTX_DEF); 269 DDP_LIST_LOCK_INIT(); |
270 netisr_register(NETISR_ATALK1, at1intr, &atintrq1, NETISR_MPSAFE); 271 netisr_register(NETISR_ATALK2, at2intr, &atintrq2, NETISR_MPSAFE); 272 netisr_register(NETISR_AARP, aarpintr, &aarpintrq, NETISR_MPSAFE); | 270 netisr_register(NETISR_ATALK1, at1intr, &atintrq1, 0); 271 netisr_register(NETISR_ATALK2, at2intr, &atintrq2, 0); 272 netisr_register(NETISR_AARP, aarpintr, &aarpintrq, 0); |
273} 274 275#if 0 276static void 277ddp_clean(void) 278{ 279 struct ddpcp *ddp; 280 --- 41 unchanged lines hidden --- | 273} 274 275#if 0 276static void 277ddp_clean(void) 278{ 279 struct ddpcp *ddp; 280 --- 41 unchanged lines hidden --- |