Date: Tue, 12 Jun 2001 15:14:17 -0400 From: Alfred Perlstein <bright@rush.net> To: Anjali Kulkarni <anjali@indranetworks.com> Cc: hackers@FreeBSD.ORG Subject: Re: User-Level upcalls Message-ID: <20010612151416.Q1832@superconductor.rush.net> In-Reply-To: <03e201c0f322$e52e2c60$0a64a8c0@indranetworks.com>; from anjali@indranetworks.com on Tue, Jun 12, 2001 at 03:04:34PM %2B0530 References: <03e201c0f322$e52e2c60$0a64a8c0@indranetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Anjali Kulkarni <anjali@indranetworks.com> [010612 05:54] wrote: > hi, > > Does any one know how to perform user-level upcalls from kernel > TCP/IP stack? If I wanted to get an upcall every time a data packet > arrived on a socket, how can it be done? Can I use signal handlers > for this? Please wrap lines at 70 characters. Yes, you can erquest that a signal (SIGIO) be sent to you each time an event occurs, take a look at fcntl(2) manpage. -- -Alfred Perlstein [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010612151416.Q1832>