delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/30/20:21:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019