Date: Tue, 6 Apr 2004 15:47:56 -0700 From: Jerry Toung <jtoung@arc.nasa.gov> To: hackers <freebsd-hackers@freebsd.org> Subject: 5.2 & ipintrq Message-ID: <200404061547.56145.jtoung@arc.nasa.gov>
next in thread | raw e-mail | index | archive | help
Hello list, I am trying to port some code that I wrote from 5.0 to 5.2. What is the=20 equivalent of the code below for 5.2. 5.0: ifq =3D &ipintrq; s =3D splnet(); if (_IF_QFULL(ifq)) { _IF_DROP(ifq); m_freem(m); } else { IF_ENQUEUE(ifq,m); } splx(s); 5.2: ?????? if (!netisr_queue(NETISR_IP, m)) { printf("%s: queue full", __FUNCTION__) return ENOBUFS; } =20 Thank you, Jerry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404061547.56145.jtoung>