Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 18:57:16 +0200
From:      Barry Irwin <bvi@itouchlabs.com>
To:        soheil hyeganeh <soheil_has@yahoo.com>
Cc:        freebsd-question@freebsd.org, freebsd-doc@freebsd.org
Subject:   Re: where is the implementation of compress() in /usr/src/sys/net/zlib.h
Message-ID:  <20011216185716.B30577@itouchlabs.com>
In-Reply-To: <20011216151043.17562.qmail@web10104.mail.yahoo.com>; from soheil_has@yahoo.com on Sun, Dec 16, 2001 at 07:10:43AM -0800
References:  <20011216151043.17562.qmail@web10104.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun 2001-12-16 (07:10), soheil hyeganeh wrote:
> where can i find the implementation of the 
> compress ( Bytef * , long *, Bytef * , long) in the
> /usr/src/sys/net/zlib.h 
> it is not in the zlib.c
> but in standard c zlib lib. we can use cc -lz and use
> the compress() func.
> how can i use the compress() func. in the source code
> of the kernel (BSD 4.4)

not Directly pertaining to your question, but if you are wanting to do
compression on IP payloads, have a look at the IPCOMP suppot which is
covered by the KAME IPSEC/IPv6 Stack under bsd. man setkey(8) and have a
read of that wrt setting up compression between hosts.

Barry


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011216185716.B30577>