Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: scozens AT pwj DOT co DOT jp X-Lotus-FromDomain: PRICE WATERHOUSE-JAPAN To: dikypkyl AT ptdprolog DOT net, cygwin AT sourceware DOT cygnus DOT com Message-ID: <492568B3.00065F1F.00@pwj-gw-n001.pwj.co.jp> Date: Fri, 31 Mar 2000 10:12:55 +0900 Subject: Re: questions about kernel source headers Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline DJ Delorie writes: > > CIPE uses kernel headers (usr/src/linux/include) in its code. How do > > I integrate the cygwin headers with the kernel headers? > In general, you don't. The parts of CIPE that use linux-specific > headers will need to be investigated to determine how to re-implement > those portions in a cygwin-specific way. You usually can't just use > headers from other platforms and expect it to work. If I remember correctly, CIPE uses the networking headers to construct its UDP packets. I can see CIPE being a bit of a big task to port; it's a network driver, which means some of it has to run in kernel space. It also means you have to create and bring up a network interface - which may be tricky in Windows. In short, this is not going to be fun. You may be far better off looking at a purely user-space tool like vtund, which I've used on Unix. However, I still don't know how you'd cope with bringing up what's essentially a PPP interface. Simn -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com