From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 23:38:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40C0016A400 for ; Mon, 13 Mar 2006 23:38:40 +0000 (UTC) (envelope-from paulalexwilson@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB9A043D4C for ; Mon, 13 Mar 2006 23:38:39 +0000 (GMT) (envelope-from paulalexwilson@gmail.com) Received: by wproxy.gmail.com with SMTP id i2so1339790wra for ; Mon, 13 Mar 2006 15:38:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=qx4ravbHaYIcj0E91zbNl7gLD8KQquH60Igv2rV2UJt+yUTpKu1E+YqiecgrqhGr09kJz1M55xRv4SEOlyoYAWlc9sTYi9CPFkRiFV/T3HHDs7wOPtWqvfP5ddEx1yRJh6pD1sHmnkUyRiwa+GLdw4xMA8aMT5var+TDqhNgOIs= Received: by 10.65.251.20 with SMTP id d20mr2550044qbs; Mon, 13 Mar 2006 15:38:39 -0800 (PST) Received: by 10.65.231.18 with HTTP; Mon, 13 Mar 2006 15:38:39 -0800 (PST) Message-ID: <3c3d11cf0603131538q526e68d6u@mail.gmail.com> Date: Mon, 13 Mar 2006 23:38:39 +0000 From: "Paul Wilson" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Testing Interrupt Mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 23:38:40 -0000 I'm attempting to port some software from the Linux Kernel to the FreeBSD kernel. The code I'm currently working on establishes whether or not a given TCP connection is in Active Open mode by calling 'in_interrupt()', which return= s nonzero if the processor is currently running in interrupt mode: ActiveOpen =3D !in_interrupt(); I have failed to find the FreeBSD equivalent to this, and have found little documentation on the topic as a whole. Could anyone please shed some light? Thank you in advance, Paul