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. -- Nick Strebkov Public key: http://humgat.org/~nick/pubkey.txt fpr: 552C 88D6 895B 6E64 F277 D367 8A70 8132 47F5 C1B6 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"