diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-04 19:27:41 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-04 19:27:41 -0500 |
| commit | d347da0deffa1d8f88f0d270eab040e4707c9916 (patch) | |
| tree | e0911f2ef4d36a7b44f7a5379feabebbd37dcfc4 /include/net/flow.h | |
| parent | c6c88bbde4d8b2ffe9886b7130b2e23781d424e5 (diff) | |
| parent | 74cb8798222bb7d1aecb0acb91e6eeedf5feb948 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include/net/flow.h')
| -rw-r--r-- | include/net/flow.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 9a5c94b1a0ec..ec7eb86eb203 100644 --- a/include/net/flow.h +++ b/include/net/flow.h | |||
| @@ -84,11 +84,12 @@ struct flowi { | |||
| 84 | #define FLOW_DIR_OUT 1 | 84 | #define FLOW_DIR_OUT 1 |
| 85 | #define FLOW_DIR_FWD 2 | 85 | #define FLOW_DIR_FWD 2 |
| 86 | 86 | ||
| 87 | typedef void (*flow_resolve_t)(struct flowi *key, u16 family, u8 dir, | 87 | struct sock; |
| 88 | typedef void (*flow_resolve_t)(struct flowi *key, u32 sk_sid, u16 family, u8 dir, | ||
| 88 | void **objp, atomic_t **obj_refp); | 89 | void **objp, atomic_t **obj_refp); |
| 89 | 90 | ||
| 90 | extern void *flow_cache_lookup(struct flowi *key, u16 family, u8 dir, | 91 | extern void *flow_cache_lookup(struct flowi *key, u32 sk_sid, u16 family, u8 dir, |
| 91 | flow_resolve_t resolver); | 92 | flow_resolve_t resolver); |
| 92 | extern void flow_cache_flush(void); | 93 | extern void flow_cache_flush(void); |
| 93 | extern atomic_t flow_cache_genid; | 94 | extern atomic_t flow_cache_genid; |
| 94 | 95 | ||
