Path: utzoo!attcan!uunet!aplcen!samsung!know!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sundc!hadron!inco!mack From: mack@inco.UUCP (Dave Mack) Newsgroups: comp.unix.wizards Subject: Datagrams Outside the Kernel Message-ID: <8009@inco.UUCP> Date: 26 Jun 90 17:21:50 GMT Reply-To: mack@inco.UUCP (Dave Mack) Organization: McDonnell Douglas Electronic Systems Co. McLean VA Lines: 32 I have question which may (or may not) be worthy of this august assemblage. I have a program running in user context which has a datagram (IP, for example) in a buffer. I need to hand this datagram over to the kernel in such a way that it gets transmitted to whatever Internet address lurks in the IP header. I also need to solve the inverse problem: getting a datagram in its raw form from the kernel when it arrives at my machine. What makes this tough is that I have to do this without modifying the kernel source. I can add pseudo-device drivers, if necessary, but I can't change anything whose source doesn't come with a binary Unix distribution. The current context of this is a Sun-2/120 under SunOS3.4, but I'd like to be able to run on any system with BSD networking. Note: I can't assume the availability of streams. So. Is this possible or am I screwed? Does any PD software to do something like this exist? Thanks very much, Dave Mack mack@inco.mdc.com {uunet!alembic,pyrdc,sundc}!inco!mack -- Dave Mack McDonnell Douglas Electronic Systems uunet!inco!mack, inco%mack@uunet.uu.net (703)883-3911 All opinions expressed are my own and do not reflect those of MDESC. Ever.