X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fnet%2Fraw.h;fp=include%2Fnet%2Fraw.h;h=e67b28a0248c3ce5c8c831634a475ae9017eeafc;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=1c411c45587a6a11862a6394fd8e6fa04c8391b4;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/net/raw.h b/include/net/raw.h index 1c411c455..e67b28a02 100644 --- a/include/net/raw.h +++ b/include/net/raw.h @@ -17,9 +17,11 @@ #ifndef _RAW_H #define _RAW_H +#include -extern struct proto raw_prot; +#include +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 *); @@ -37,6 +39,11 @@ extern struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num, unsigned long raddr, unsigned long 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 */