diff options
Diffstat (limited to 'include/net/tc_act/tc_ife.h')
-rw-r--r-- | include/net/tc_act/tc_ife.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/tc_act/tc_ife.h b/include/net/tc_act/tc_ife.h index dc9a09aefb33..c55facd17b7e 100644 --- a/include/net/tc_act/tc_ife.h +++ b/include/net/tc_act/tc_ife.h | |||
@@ -36,7 +36,7 @@ struct tcf_meta_ops { | |||
36 | int (*encode)(struct sk_buff *, void *, struct tcf_meta_info *); | 36 | int (*encode)(struct sk_buff *, void *, struct tcf_meta_info *); |
37 | int (*decode)(struct sk_buff *, void *, u16 len); | 37 | int (*decode)(struct sk_buff *, void *, u16 len); |
38 | int (*get)(struct sk_buff *skb, struct tcf_meta_info *mi); | 38 | int (*get)(struct sk_buff *skb, struct tcf_meta_info *mi); |
39 | int (*alloc)(struct tcf_meta_info *, void *); | 39 | int (*alloc)(struct tcf_meta_info *, void *, gfp_t); |
40 | void (*release)(struct tcf_meta_info *); | 40 | void (*release)(struct tcf_meta_info *); |
41 | int (*validate)(void *val, int len); | 41 | int (*validate)(void *val, int len); |
42 | struct module *owner; | 42 | struct module *owner; |
@@ -48,8 +48,8 @@ int ife_get_meta_u32(struct sk_buff *skb, struct tcf_meta_info *mi); | |||
48 | int ife_get_meta_u16(struct sk_buff *skb, struct tcf_meta_info *mi); | 48 | int ife_get_meta_u16(struct sk_buff *skb, struct tcf_meta_info *mi); |
49 | int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, | 49 | int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, |
50 | const void *dval); | 50 | const void *dval); |
51 | int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval); | 51 | int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); |
52 | int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval); | 52 | int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); |
53 | int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); | 53 | int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); |
54 | int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); | 54 | int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); |
55 | int ife_validate_meta_u32(void *val, int len); | 55 | int ife_validate_meta_u32(void *val, int len); |