In message: <[EMAIL PROTECTED]>
[EMAIL PROTECTED] writes:
: On 14.07.2006 15:57:28, Simon 'corecode' Schubert wrote:
: > Mykola Stryebkov wrote:
: > >Hi all.
: > >
: > >Have a strange question: is it possible to create new process (using
: > >fork or fork1) from inside of ip_input()?
: >
: > i don't think so.
: >
: > >In kernel sources i found example of using fork1 in init_main.c but
: > >looking into ip_input.c i do not understand where i can get pointers to
: > >a thread and parent process to pass it into fork1.
: >
: > only a process can fork, but ip_input is run from interrupt, not in a
: > process context. which process do you want to fork anyways?
:
: I want to start user-level process on first incoming RTP packet to
: install and keep TCP control connection.
Why not start it at boot, and signal/kick it somehow when RTP
connections need to be managed...
warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"