*BSD News Article 55414


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!news1.best.com!sdd.hp.com!swrinde!newsfeed.internetmci.com!in1.uu.net!news.iij.ad.jp!iijnet!kgnews!news
From: luke@fct.kgc.co.jp (Kouki Higuchi)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: CAP on FreeBSD. Trouble.
Date: 18 Nov 1995 17:14:20 +0900
Organization: Keisoku Giken, First Class Tech. Japan
Lines: 33
Sender: luke@fender.fct.kgc.co.jp
Distribution: world
Message-ID: <s7e4tw2fig3.fsf@fender.fct.kgc.co.jp>
References: <JENS.95Nov13210918@lena.rydnet.lysator.liu.se>
NNTP-Posting-Host: fender.fct.kgc.co.jp
In-reply-to: jens@lena.rydnet.lysator.liu.se's message of 13 Nov 1995 20:09:17 GMT
X-Newsreader: Gnus v5.0

>> On 13 Nov 1995 20:09:17 GMT, jens@lena.rydnet.lysator.liu.se (Jens Larsson) said:
In article <JENS.95Nov13210918@lena.rydnet.lysator.liu.se> jens@lena.rydnet.lysator.liu.se (Jens Larsson) writes:
Jens> Our problem is that copying files _to_ the server from all Macintoshes
Jens> but one in our environment is so incredibly slow that speed
Jens> practically is zero. Copying a 100K file takes 10 minutes or more.

Probably you'll find following definition in lib/cap/absched.c
    #ifdef __NetBSD__
    #define MULTI_BPF_PKT
    #endif /* __NetBSD__ */


And also you'll find next definition in support/ethertalk/bpfiltp.c
    #ifdef __NetBSD__
    #define MULTI_BPF_PKT
    #define USE_SIOCGIFCONF
    #endif __NetBSD__

So you must change to these difinitions are also made enabled with FreeBSD.

Kind a like
    #ifdef __NetBSD__ -> #if defined(__NetBSD__) || (__FreeBSD__)

I don't think that it's best way, but easist way.


-- 

-- 
Keisoku Giken Corp.
Software Engineering and Network Products Support
Co-Manager 
Kouki Higuchi	luke@fct.kgc.co.jp