Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247974
b: refs/heads/master
c: 792d4b5
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and David S. Miller committed May 23, 2011
1 parent ba5725c commit e931f5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce14f8946a294ffa741ec29558a1c7e455cecd3b
refs/heads/master: 792d4b5cb16b684958c2590f77688667ddec1f61
7 changes: 4 additions & 3 deletions trunk/include/linux/filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ struct sock_fprog { /* Required for SO_ATTACH_FILTER. */
#define SKF_LL_OFF (-0x200000)

#ifdef __KERNEL__

struct sk_buff;
struct sock;

struct sk_filter
{
atomic_t refcnt;
Expand All @@ -146,9 +150,6 @@ static inline unsigned int sk_filter_len(const struct sk_filter *fp)
return fp->len * sizeof(struct sock_filter) + sizeof(*fp);
}

struct sk_buff;
struct sock;

extern int sk_filter(struct sock *sk, struct sk_buff *skb);
extern unsigned int sk_run_filter(const struct sk_buff *skb,
const struct sock_filter *filter);
Expand Down

0 comments on commit e931f5e

Please sign in to comment.