fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / net / raw.h
index 1c411c4..e4af597 100644 (file)
@@ -18,8 +18,9 @@
 #define _RAW_H
 
 
-extern struct proto raw_prot;
+#include <net/protocol.h>
 
+extern struct proto raw_prot;
 
 extern void    raw_err(struct sock *, struct sk_buff *, u32 info);
 extern int     raw_rcv(struct sock *, struct sk_buff *);
@@ -34,9 +35,14 @@ extern rwlock_t raw_v4_lock;
 
 
 extern struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num,
-                                   unsigned long raddr, unsigned long laddr,
+                                   __be32 raddr, __be32 laddr,
                                    int dif);
 
-extern void raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);
+extern int raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);
+
+#ifdef CONFIG_PROC_FS
+extern int  raw_proc_init(void);
+extern void raw_proc_exit(void);
+#endif
 
 #endif /* _RAW_H */