equal
deleted
inserted
replaced
37 int (*to_nlattr)(struct sk_buff *skb, const struct nf_conn *ct); |
37 int (*to_nlattr)(struct sk_buff *skb, const struct nf_conn *ct); |
38 unsigned int expect_class_max; |
38 unsigned int expect_class_max; |
39 }; |
39 }; |
40 |
40 |
41 extern struct nf_conntrack_helper * |
41 extern struct nf_conntrack_helper * |
42 __nf_ct_helper_find(const struct nf_conntrack_tuple *tuple); |
|
43 |
|
44 extern struct nf_conntrack_helper * |
|
45 __nf_conntrack_helper_find_byname(const char *name); |
42 __nf_conntrack_helper_find_byname(const char *name); |
46 |
43 |
47 extern int nf_conntrack_helper_register(struct nf_conntrack_helper *); |
44 extern int nf_conntrack_helper_register(struct nf_conntrack_helper *); |
48 extern void nf_conntrack_helper_unregister(struct nf_conntrack_helper *); |
45 extern void nf_conntrack_helper_unregister(struct nf_conntrack_helper *); |
49 |
46 |
50 extern struct nf_conn_help *nf_ct_helper_ext_add(struct nf_conn *ct, gfp_t gfp); |
47 extern struct nf_conn_help *nf_ct_helper_ext_add(struct nf_conn *ct, gfp_t gfp); |
|
48 |
|
49 extern int __nf_ct_try_assign_helper(struct nf_conn *ct, gfp_t flags); |
51 |
50 |
52 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct) |
51 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct) |
53 { |
52 { |
54 return nf_ct_ext_find(ct, NF_CT_EXT_HELPER); |
53 return nf_ct_ext_find(ct, NF_CT_EXT_HELPER); |
55 } |
54 } |