Testing Interrupt Mode

Paul Wilson paulalexwilson at gmail.com
Mon Mar 13 23:38:40 UTC 2006


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 returns
nonzero if the processor is currently running in interrupt mode:

ActiveOpen = !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


More information about the freebsd-questions mailing list