From: <be...@us...> - 2003-12-14 16:05:12
|
Update of /cvsroot/iptables-p2p/iptables-p2p/kernel In directory sc8-pr-cvs1:/tmp/cvs-serv26109 Modified Files: main.c Log Message: formatting Index: main.c =================================================================== RCS file: /cvsroot/iptables-p2p/iptables-p2p/kernel/main.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- main.c 14 Dec 2003 06:24:58 -0000 1.5 +++ main.c 14 Dec 2003 16:05:07 -0000 1.6 @@ -27,21 +27,17 @@ MODULE_DESCRIPTION("IP tables P2P match module"); MODULE_LICENSE("GPL"); -int -match_http(const unsigned char *data, - const unsigned char *end); +int match_http(const unsigned char *data, + const unsigned char *end); -int -match_edonkey(const unsigned char *data, - const unsigned char *end); +int match_edonkey(const unsigned char *data, + const unsigned char *end); -int -match_dc(const unsigned char *data, - const unsigned char *end); +int match_dc(const unsigned char *data, + const unsigned char *end); -int -match_bittorrent(const unsigned char *data, - const unsigned char *end); +int match_bittorrent(const unsigned char *data, + const unsigned char *end); static int match(const struct sk_buff *skb, @@ -49,10 +45,12 @@ const struct net_device *out, const void *matchinfo, int offset, + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) const void *hdr, u_int16_t datalen, #endif /* Linux < 2.6.0 */ + int *hotdrop) { const struct ipt_p2p_info *pinfo = matchinfo; |