diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/net/raw.h | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c
(commit eda603f).
Diffstat (limited to 'include/net/raw.h')
| -rw-r--r-- | include/net/raw.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/raw.h b/include/net/raw.h index 6c14a656357a..43c57502659b 100644 --- a/include/net/raw.h +++ b/include/net/raw.h | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | #include <net/protocol.h> | 21 | #include <net/protocol.h> |
| 22 | #include <linux/icmp.h> | ||
| 22 | 23 | ||
| 23 | extern struct proto raw_prot; | 24 | extern struct proto raw_prot; |
| 24 | 25 | ||
| @@ -56,4 +57,16 @@ int raw_seq_open(struct inode *ino, struct file *file, | |||
| 56 | void raw_hash_sk(struct sock *sk); | 57 | void raw_hash_sk(struct sock *sk); |
| 57 | void raw_unhash_sk(struct sock *sk); | 58 | void raw_unhash_sk(struct sock *sk); |
| 58 | 59 | ||
| 60 | struct raw_sock { | ||
| 61 | /* inet_sock has to be the first member */ | ||
| 62 | struct inet_sock inet; | ||
| 63 | struct icmp_filter filter; | ||
| 64 | u32 ipmr_table; | ||
| 65 | }; | ||
| 66 | |||
| 67 | static inline struct raw_sock *raw_sk(const struct sock *sk) | ||
| 68 | { | ||
| 69 | return (struct raw_sock *)sk; | ||
| 70 | } | ||
| 71 | |||
| 59 | #endif /* _RAW_H */ | 72 | #endif /* _RAW_H */ |
