[Netnice-kernels] Re: Netnice internals
Status: Alpha
Brought to you by:
taost6
From: Scott B. <sco...@ve...> - 2004-11-08 18:29:01
|
On Sun, 7 Nov 2004, Takashi Okumura wrote: > hi, > > fujita-kun, thanks for your help. > > > Sho Fujita wrote: > > > > i agree with taka. netnice command is a good starting point. but it > > seems to use /proc. since netnice for other architectures such as > > freebsd4.9, netbsd, and openbsd are using /proc, copy > > netnice/netnice-common/src/* to netnice/linux/src, then modify them. > > vifctl needs vif_capture.c working, please leave it untill later. > > i would like to add one more comment here, for scott. > > due to several difficulties we have on procfs implementation, we > are shifting to the NNFS-based API. FreeBSD5/Netnice supports NNFS, > as you know, and we'll migrate into NNFS on OpenBSD and NetBSD shortly. > > However, its mount point is controversial. FreeBSD/Netnice uses /proc > for NNFS, but, we will need to mount NNFS of Linux at /nnfs, which might > compromise the portability of netnice applications. We may need to think > about OSs which do not support procfs, such as MacOS X and Windows OS, also. > For the Linux netnice command I was going to read /etc/mtab using getmntent to make sure that nnfs is mounted and get the mount point. So the actual mount point for nnfs should not matter. > > -- taka > > p.s. fujita-kun. does vifctl use vif_capture.c, or NPF? > > p.p.s. can you suggest/specify a shell program we need to modify for linux? > bash? bsh? ksh? Most Linux systems use bash as the shell. Scott B |