From: Jeff D. <jd...@ka...> - 2000-10-12 19:09:43
|
mjr...@cc... said: > I was wondering if anyone has considered adding slirp networking > support to UML? It has come up several times in the last few weeks. I just haven't had time to look into it. > I guess, from glancing at the source, that it'd mostly be a case of > modifying arch/um/drivers/umn_user.c so that instead of calling > ifconfig slirp would be started and its stdin/out used instead of the > tty allocated for the slip line? Any obvious flaws in this? The driver just wants a file descriptor that it can read and write packets to. It doesn't care how that descriptor is set up. > if I get to scratching my own itch but am not really sure how to best > go about doing it? (Read: not much kernel/low-level programming > experience.) That is purely user-level code. If you can write a little proggie to set up slirp and communicate via it, you can probably just drop that code into the driver. Jeff |