Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 23:38:39 +0000
From:      "Paul Wilson" <paulalexwilson@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Testing Interrupt Mode
Message-ID:  <3c3d11cf0603131538q526e68d6u@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c3d11cf0603131538q526e68d6u>