Part 1 of CONFIG_FILTER (RE: 2.2.2-pre5 compile error)

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Sat, 20 Feb 1999 03:08:09 -0600 (CST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--998314481-979037794-919501145=:14935
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.3.96.990220025908.14935E@Astro.Dyer.Vanderbilt.Edu>

This is a typo fix that is needed :: linux/include/linux/filter.h

-extern int sk_run_filter(unsigned char *data,
+extern int sk_run_filter(struct sk_buff *skb,

However this is only partial and breakage is still present.

>From "linux/include/net/sock.h"

#ifdef CONFIG_FILTER
/* Socket Filtering Instructions */
struct sk_filter *filter;
#endif /* CONFIG_FILTER */

I believe that "struct sk_filter" is not define or incorrect reference,
or I am blind and can't read.........

Lastly function "sk_filter_len(??)" is no where to be found either.

This is my WAG but I'm sure it is wrong..............

extern __inline__ unsigned sk_filter_len(struct sk_filter *fp)
{
/*
return blah_blah->something;
*/
return fp->len;
}

Andre Hedrick
The Linux IDE guy -- http://www.dyer.vanderbilt.edu/server/udma/

--998314481-979037794-919501145=:14935
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="2.2.2-5-filter.fix"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.990220025905.14935C@Astro.Dyer.Vanderbilt.Edu>
Content-Description:

LS0tIC9saW51eC9pbmNsdWRlL2xpbnV4L2ZpbHRlci5oLm9yaWcJU2F0IEZl
YiAyMCAwMToyNjo1MiAxOTk5DQorKysgL2xpbnV4L2luY2x1ZGUvbGludXgv
ZmlsdGVyLmgJU2F0IEZlYiAyMCAwMToyNjozOSAxOTk5DQpAQCAtMTAwLDcg
KzEwMCw3IEBADQogI2RlZmluZSBCUEZfTUVNV09SRFMgMTYNCiANCiAjaWZk
ZWYgX19LRVJORUxfXw0KLWV4dGVybiBpbnQgc2tfcnVuX2ZpbHRlcih1bnNp
Z25lZCBjaGFyICpkYXRhLCBpbnQgbGVuLCBzdHJ1Y3Qgc29ja19maWx0ZXIg
KmZpbHRlciwgaW50IGZsZW4pOw0KK2V4dGVybiBpbnQgc2tfcnVuX2ZpbHRl
cihzdHJ1Y3Qgc2tfYnVmZiAqc2tiLCBzdHJ1Y3Qgc29ja19maWx0ZXIgKmZp
bHRlciwgaW50IGZsZW4pOw0KIGV4dGVybiBpbnQgc2tfYXR0YWNoX2ZpbHRl
cihzdHJ1Y3Qgc29ja19mcHJvZyAqZnByb2csIHN0cnVjdCBzb2NrICpzayk7
DQogI2VuZGlmIC8qIF9fS0VSTkVMX18gKi8NCiANCg==
--998314481-979037794-919501145=:14935--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/